Skip to main content

HtmlEditorToolbar.Visible Property

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

Namespace: DevExpress.Web.ASPxHtmlEditor

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

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean true

true if the toolbar is visible; otherwise false.

Remarks

Use the Visible property of toolbars to dynamically change the content of the ASPxHtmlEditor control. This property enables you to hide and display specific toolbars, when certain conditions are met.

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

See Also