Back to Devexpress

LayoutGroup.AllowDrawBackground Property

windowsforms-devexpress-dot-xtralayout-dot-layoutgroup-1593f988.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool AllowDrawBackground { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public Property AllowDrawBackground As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

EnableTransparentBackColor

LayoutGroup Class

LayoutGroup Members

DevExpress.XtraLayout Namespace