Tab
A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

[DefaultValue(true)]
public bool Enabled { get; set; }
<DefaultValue(True)>
Public Property Enabled As Boolean

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 ASPxClientMenuItem.SetEnabled client method.

See Also
<