Tab
A newer version of this page is available. Switch to the current version.

MenuItem.AdaptivePriority Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(0)]
public int AdaptivePriority { get; set; }
<DefaultValue(0)>
Public Property AdaptivePriority As Integer

Property Value

Type Default Description
Int32

0

An Int32 value specifying the item priority.

Remarks

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.

ASPxMenu_AdaptiveMenuImage

See Also