Skip to main content

ASPxMenuBase.ItemImage Property

Gets the settings of a common image displayed by all the root menu items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public virtual MenuItemImageProperties ItemImage { get; }

Property Value

Type Description

A MenuItemImageProperties object that contains image settings.


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.

See Also