ContextItem.Enabled Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll


public bool Enabled { get; set; }
Public Property Enabled As Boolean

Property Value

Type Default Description


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


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