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

PanelControl.BackColor Property

Gets or sets the panel’s background color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.1.dll

Declaration

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

Property Value

Type Description
Color

A Color structure which specifies the panel’s background color.

Remarks

The BackColor property is in effect in the following cases:

  • the BorderStyle property is set to NoBorder.
  • the PanelControl object is painted using a non-skinning painting scheme.

The BackColor property is synchronized with the BackColor property of the PanelControl.Appearance object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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