Back to Devexpress

GroupControl.AppearanceCaption Property

windowsforms-devexpress-dot-xtraeditors-dot-groupcontrol.md

latest2.6 KB
Original Source

GroupControl.AppearanceCaption Property

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

Declaration

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

Property Value

TypeDescription
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.

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

  • C#

  • VB.NET

csharp
groupControl1.AppearanceCaption.BorderColor = Color.MediumOrchid;
vb
GroupControl1.AppearanceCaption.BorderColor = Color.MediumOrchid

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

See Also

Application Appearance and Skin Colors

GroupControl Class

GroupControl Members

DevExpress.XtraEditors Namespace