Skip to main content

HtmlEditorToolbarItem.VisibleIndex Property

Gets or sets a value specifying the position of the current item amongst the visible items in a toolbar.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public int VisibleIndex { get; set; }

Property Value

Type Description
Int32

An integer value specifying the zero-based index of the HtmlEditorToolbarItem amongst the toolbar’s visible items. -1 if the toolbar item is invisible.

Remarks

Use the VisibleIndex property to control where the item is displayed amongst other items of the same toolbar. If the VisibleIndex property is set to -1, the toolbar item is not displayed.

Note that the VisibleIndex and HtmlEditorToolbarItem.Visible properties are interdependent.The -1 value assigned to the VisibleIndex property sets the HtmlEditorToolbarItem.Visible property to false. Setting the VisibleIndex property to a non-negative value sets the HtmlEditorToolbarItem.Visible property to true.

See Also