HtmlEditorContextMenuItem.Visible Property
Gets or sets a value specifying the visibility of the current context menu item.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v21.2.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if the item is visible; otherwise false. |
Remarks
Use the Visible property of items to dynamically change the content of a context menu. This property enables you to hide and display specific menu items when certain conditions are met.
Note that the Visible and HtmlEditorContextMenuItem.VisibleIndex properties are interdependent. The false value assigned to the Visible property sets the VisibleIndex property to -1. Setting the Visible property back to true makes the VisibleIndex property set to the non-negative value it previously had.