PanelControl.BackColor Property

Gets or sets the panel's background color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DXCategory("Appearance")]
public override Color BackColor { get; set; }
<DXCategory("Appearance")>
Public Overrides Property BackColor As Color

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.

See Also