Skip to main content

HtmlEditorContextMenuItem.VisibleIndex Property

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

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

public int VisibleIndex { get; set; }

Property Value

Type Description
Int32

An integer value specifying the zero-based index of the HtmlEditorContextMenuItem amongst a context menu’s visible items. -1 if the item is invisible.

Remarks

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

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

See Also