Skip to main content

HtmlEditorToolbarItem.Visible Property

Gets or sets a value specifying the visibility of the current toolbar item.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

[DefaultValue(true)]
public bool Visible { get; set; }

Property Value

Type Default Description
Boolean true

true if the item is visible; otherwise false.

Remarks

Use the Visible property of toolbar items to dynamically change the content of a toolbar. This property enables you to hide and display specific items, when certain conditions are met.

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

See Also