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

NavBarItem.Image Property

Gets the settings of an image displayed by the item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public ItemImageProperties Image { get; }

Property Value

Type Description
ItemImageProperties

A ItemImageProperties object that contains image settings.

Remarks

The Image property provides access to the settings that define an item image associated with the item. The specified image can be used as a link if the navigation bar’s ASPxNavBar.ItemLinkMode property or the group’s NavBarGroup.ItemLinkMode property is set to the GroupItemLinkMode.TextAndImage or GroupItemLinkMode.ContentBounds value.

In order to assign the same image to all items within a group, the group’s NavBarGroup.ItemImage can be used. A specific common image can be associated with all the items within a navbar control by using the navbar’s ASPxNavBar.ItemImage property.

See Also