Skip to main content
A newer version of this page is available. .

XtraForm.ForeColor Property

Gets or sets the foreground color of the form’s client region.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public override Color ForeColor { get; set; }

Property Value

Type Description
Color

A Color structure which specifies the foreground color of the form’s client region.

Remarks

The appearance settings used to paint the form’s client region are provided by the XtraForm.Appearance property. This property returns an AppearanceObject object whose properties specify the form’s background and foreground colors, font, etc. The ForeColor property’s value is synchronized with the appearance object’s AppearanceObject.ForeColor property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ForeColor property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also