Skip to main content

BaseStyleControl.ForeColor Property

Gets or sets the control’s foreground color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DXCategory("Appearance")]
public override Color ForeColor { get; set; }

Property Value

Type Description
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