MenuItem.ItemStyle Property
Gets the style settings for the current menu’s item.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
MenuItemStyle | A MenuItemStyle object that contains the style settings for the current menu item. |
Remarks
The ItemStyle property provides access to the style settings which define the appearance style of the current menu item of the menu control.
A specific item style can be applied to all submenu items of the menu control using the menu’s ASPxMenuBase.SubMenuItemStyle property. The style settings for all submenu items of an individual menu item can be defined via the item’s MenuItem.SubMenuItemStyle property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemStyle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.