Skip to main content

GroupControl.AppearanceCaption Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DXCategory("Appearance")]
public virtual AppearanceObject AppearanceCaption { get; }

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