MenuItem.AdaptivePriority Property
Gets or sets the priority of item hiding in adaptive mode.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
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.
See Also