Skip to main content
A newer version of this page is available. .

ContextItem.Enabled Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(true)]
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