Skip to main content
Tab

MenuItem.AdaptivePriority Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(0)]
public int AdaptivePriority { get; set; }

Property Value

Type Default Description
Int32 0

An Int32 value specifying the item priority.

Remarks

When the MenuSettingsAdaptivity.Enabled 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