Back to Devexpress

PanelControl.BackColor Property

windowsforms-devexpress-dot-xtraeditors-dot-panelcontrol-70451f25.md

latest1.7 KB
Original Source

PanelControl.BackColor Property

Gets or sets the panel’s background color.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
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

Appearance

PanelControl Class

PanelControl Members

DevExpress.XtraEditors Namespace