Back to Devexpress

LayoutControlItem.Enabled Property

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrolitem.md

latest1.8 KB
Original Source

LayoutControlItem.Enabled Property

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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

Enabled

PageEnabled

LayoutControlItem Class

LayoutControlItem Members

DevExpress.XtraLayout Namespace