Skip to main content

LayoutControlItem.Enabled Property

Gets or sets whether the layout item and its control are enabled.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
[XtraSerializablePropertyId(301)]
public bool Enabled { get; set; }

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