Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

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

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#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