Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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