XtraForm.ForeColor Property
Gets or sets the foreground color of the form’s client region.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.