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

XtraForm.BackColor Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public override Color BackColor { get; set; }

Property Value

Type Description
Color

A Color structure which specifies the background 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 BackColor property’s value is synchronized with the appearance object’s AppearanceObject.BackColor property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the BackColor 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