Skip to main content
Tab

FileManagerToolbarCustomButton.Visible Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.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 button is visible; otherwise false.

Remarks

Use the Visible property of toolbar custom buttons to dynamically change the content of the ASPxFileManager toolbar. This property enables you to hide and display specific buttons when certain conditions are met.

Note

If a toolbar button is hidden on the server by setting the Visible property to false, the button can’t then be displayed on the client by using the client ASPxClientMenuItem.SetVisible method. If you want to drive an editor on the client side, use its FileManagerToolbarCustomButton.ClientVisible property, rather than the Visible property.

See Also