Back to Devexpress

HtmlEditorToolbarItem.AdaptivePriority Property

aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-htmleditortoolbaritem.md

latest2.2 KB
Original Source

HtmlEditorToolbarItem.AdaptivePriority Property

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

Namespace : DevExpress.Web.ASPxHtmlEditor

Assembly : DevExpress.Web.ASPxHtmlEditor.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Int320

An Int32 value specifying the toolbar item priority.

|

Remarks

When the HtmlEditorAdaptivitySettings.Enabled property is set to true, the ASPxHtmlEditor control’s toolbar can automatically resize and hide its items when the browser window is resized. Use the AdaptivePriority property to control the order of toolbar item hiding.

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

The hidden toolbar items can be displayed by hovering the \ *adaptive toolbar image *.

See Also

HtmlEditorToolbarItem Class

HtmlEditorToolbarItem Members

DevExpress.Web.ASPxHtmlEditor Namespace