Tab

MenuItem.Enabled Property

Gets or sets a value that indicates whether the menu item is enabled, allowing the item to respond to end-user interactions.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

true if the item is enabled; otherwise, false.

Remarks

When this property is set to false, the menu item doesn’t respond to end-user interactions, such as mouse hovering or clicks.

NOTE

If a menu item is disabled on the server by setting the Enabled property to false, the item can’t then be enabled on the client by using the clientASPxClientMenuItem.SetEnabled method.

See Also