Skip to main content
A newer version of this page is available. .
Tab

MenuItem.ItemStyle Property

Gets the style settings for the current menu’s item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public MenuItemStyle ItemStyle { get; }

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.

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.

See Also