Skip to main content

PanelControl.BackColor Property

Gets or sets the panel’s background color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

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.

See Also