LayoutControlItem.Enabled Property

Gets or sets whether the layout item and its control 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 the layout item and its control are enabled; otherwise, false.

Remarks

Set the Enabled property to false to disable the layout item and its control. Setting this property back to true enables them.

NOTE

If you set a control's Enabled property to false at design time, the layout item and the control are disabled at runtime (even if the layout item's Enabled property was set to true at design time).

See Also