Skip to main content

ContextItem.Enabled Property

Gets or sets whether the current item can respond to end-user interaction.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

Declaration

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

Property Value

Type Default Description
Boolean true

true if the current item can respond to end-user interaction; otherwise, false.

Remarks

By default, the item is enabled and an end-user can interact with it: click, change state, etc. The item responds to end-user interaction by changing its visual representation and raising the corresponding events. Set the Enabled property to false to disable the current item and prevent it from interaction with an end-user. When the item is disabled, it is displayed in a light hue.

See Also