Skip to main content

MenuItemState.Checked Property

Gets a value that specifies the menu item check state.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool Checked { get; }

Property Value

Type Description
Boolean

true, if the menu item is checked; otherwise, false.

Remarks

Use the Checked property to obtain the menu item check state.

To allow end-users to check menu items, define the MenuItem.GroupName (via MVCxMenuItem.GroupName) property for all the required items.

To get the Checked property value on the client side, use the ASPxClientMenuItem.GetChecked method.

See Also