Back to Devexpress

BaseStyleControl.Appearance Property

windowsforms-devexpress-dot-xtraeditors-dot-basestylecontrol.md

latest2.0 KB
Original Source

BaseStyleControl.Appearance Property

Gets the appearance settings used to paint the control’s contents.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
AppearanceObject

A AppearanceObject object which provides the appearance settings used to paint the control’s contents.

|

Remarks

Use the Appearance property to specify the control’s foreground and background colors, font settings, horizontal and vertical alignment of the displayed text, etc. The BaseStyleControl.BackColor, BaseStyleControl.ForeColor and BaseStyleControl.Font properties are equivalent to the corresponding properties available via the Appearance property.

For more information on appearances, see the Application Appearance and Skin Colors document.

See Also

BaseStyleControl Class

BaseStyleControl Members

DevExpress.XtraEditors Namespace