Back to Devexpress

LayoutControl.BackColor Property

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrol-0027f4a0.md

latest2.4 KB
Original Source

LayoutControl.BackColor Property

Gets or sets the control’s background color.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

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 that represents the control’s background color.

|

Remarks

The color specified by the BackColor property is used to paint the control’s background if the OptionsView.EnableTransparentBackColor property is set to true.

If you need a form’s background image to be seen through the LayoutControl which is positioned on this form do the following:

  1. assign the image to the form’s BackgroundImage property;
  2. set the LayoutControl’s BackColor property to the transparent or a semi-transparent color;
  3. set the OptionsView.EnableTransparentBackColor property to true.

Note

The BackColor and OptionsView.EnableTransparentBackColor are not supported if the LayoutControl is painted using a skin. See the LayoutControl.LookAndFeel property to change the painting scheme.

See Also

EnableTransparentBackColor

Appearances

LayoutControl Class

LayoutControl Members

DevExpress.XtraLayout Namespace