Back to Devexpress

BaseStyleControl.ForeColor Property

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

latest1.8 KB
Original Source

BaseStyleControl.ForeColor Property

Gets or sets the control’s foreground color.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
public override Color ForeColor { get; set; }
vb
<DXCategory("Appearance")>
Public Overrides Property ForeColor As Color

Property Value

TypeDescription
Color

A Color structure specifying the color used to display the control’s text.

|

Remarks

Use the BaseStyleControl.Appearance property to customize the appearance of controls. This property provides access to an object specifying the editor’s background and foreground colors, font, etc. The ForeColor property value is synchronized with the AppearanceObject.ForeColor property of the object available via the BaseStyleControl.Appearance property.

See Also

Appearance

BaseStyleControl Class

BaseStyleControl Members

DevExpress.XtraEditors Namespace