Skip to main content

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

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