Skip to main content

MenuSettings.ItemImagePosition Property

Gets or sets a value that specifies how item images are positioned within the menu’s root items.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public ImagePosition ItemImagePosition { get; set; }

Property Value

Type Description
ImagePosition

One of the ImagePosition enumeration values.

Available values:

Name Description
Left

An image is displayed at the element’s left, to the left of the text.

Top

An image is displayed at the element’s top, above the text.

Right

An image is displayed at the element’s right, to the right of the text.

Bottom

An image is displayed at the element’s bottom, below the text.

Remarks

Use the ItemImagePosition property to specify the image position for root item images. Note that sub-item images are always displayed to the left of item captions.

See Also