LayoutGroup.Enabled Property

Gets or sets whether layout items that belong to the current group are enabled.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

true if layout items that belong to the current group are enabled; otherwise, false.

Remarks

Setting the Enabled property to false disables the controls displayed by the layout items in the current group and its nested groups. Setting the Enabled property back to true restores the original values of the controls' Enabled properties.

NOTE

At design time, setting a group's Enabled property to false disables the group's controls. If this property has been set to false at design time, setting it back to true at runtime doesn't enable the group's controls. In this instance, you'll need to manually enable the group's controls.

When a group is represented as a tab within a TabbedControlGroup, you can disable the tab via the LayoutGroup.PageEnabled property.

See Also