Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutControl.BackColor Property

Gets or sets the control’s background color.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Description
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