MenuItem.AdaptivePriority Property

Gets or sets the priority of item hiding in adaptive mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll


public int AdaptivePriority { get; set; }

Property Value

Type Default Description


An Int32 value specifying the item priority.


When the ASPxMenu.EnableAdaptivity property is set to true, the ASPxMenu control can automatically resize or hide its items when the browser window is resized. Use the AdaptivePriority property to control the order of item hiding.

The bigger the value of the AdaptivePriority property is, the earlier the item will be hidden. If items have the same priority, the hiding order is determined by the MenuItem.VisibleIndex property.

The hidden items can be displayed by hovering the adaptive menu image.


See Also