LayoutControl.BackColor Property
Gets or sets the control’s background color.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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:
- assign the image to the form’s BackgroundImage property;
- set the LayoutControl’s BackColor property to the transparent or a semi-transparent color;
- set the OptionsView.EnableTransparentBackColor property to true.
To specify the background image for the LayoutControl use the AppearanceObject.Image property of the root group’s LayoutItemContainer.AppearanceGroup object.
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.