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

LayoutGroup.AllowDrawBackground Property

Gets or sets whether to paint the group’s background when the LayoutGroup.GroupBordersVisible property is set to false.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool AllowDrawBackground { get; set; }

#Property Value

Type Default Description
Boolean true

true if the group’s background is painted; otherwise, false.

#Remarks

This property is in effect when the LayoutGroup.GroupBordersVisible property is set to false.

If the group’s borders are hidden, the AllowDrawBackground property allows you to hide the group’s background. This makes the group transparent.

See Also