GroupControl.AppearanceCaption Property

Gets the appearance settings used to paint the group's caption and border.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DXCategory("Appearance")]
public virtual AppearanceObject AppearanceCaption { get; }
<DXCategory("Appearance")>
Public Overridable ReadOnly Property AppearanceCaption As AppearanceObject

Property Value

Type Description
AppearanceObject

The group control's caption and border appearance settings.

Remarks

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.

    In different skins and control states, the control can apply the specified color as is, apply the color's hue or blend the color with a corresponding skin element.

  • 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;

GroupControl-AppearanceCaption.BorderColor.png

Refer to the Application Appearance and Skin Colors document for more information.

See Also