ASPxMenuBase.ItemImage Property
Gets the settings of a common image displayed by all the root menu items.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
MenuItemImageProperties | A MenuItemImageProperties object that contains image settings. |
Remarks
The image specified by the ItemImage property can be used as a link if the ASPxMenuBase.ItemLinkMode property is set to ItemLinkMode.TextAndImage or ItemLinkMode.ContentBounds.
To define a common image for all submenu items within the menu control, use the ASPxMenuBase.SubMenuItemImage property. To associate a specific image with all submenu items of an individual menu item, use the menu item’s MenuItem.SubMenuItemImage property. Individual menu items can display their own images. To specify the menu item’s image, use the MenuItem.Image property.