Back to Devexpress

MenuItem.Enabled Property

aspnet-devexpress-dot-web-dot-menuitem-72ac59ca.md

latest1.5 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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

Visible

SetEnabled(value)

MenuItem Class

MenuItem Members

DevExpress.Web Namespace