Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseStyleControl.ForeColor Property

Gets or sets the control’s foreground color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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