Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
[DXCategory("Behavior")]
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