windowsforms-devexpress-dot-xtraeditors-dot-groupcontrol.md
Gets the appearance settings used to paint the group’s caption and border.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[DXCategory("Appearance")]
public virtual AppearanceObject AppearanceCaption { get; }
<DXCategory("Appearance")>
Public Overridable ReadOnly Property AppearanceCaption As AppearanceObject
| Type | Description |
|---|---|
| AppearanceObject |
The group control’s caption and border appearance settings.
|
Use the following settings provided by the AppearanceCaption property to customize the appearance settings used to paint the group control’s caption and border:
the AppearanceCaption. BorderColor setting to change the caption background and border color.
the AppearanceCaption. ForeColor setting to change the text color. This property is in effect in any of the following cases: 1) the BorderColor setting is not set; 2) the WindowsFormsSettings.AutoCorrectForeColor property is set to False.
the AppearanceCaption. Font* settings adjusts the text font attributes.
groupControl1.AppearanceCaption.BorderColor = Color.MediumOrchid;
GroupControl1.AppearanceCaption.BorderColor = Color.MediumOrchid
Refer to the Application Appearance and Skin Colors document for more information.
See Also