Skip to main content
Tab

FileManagerToolbarCustomButton.Enabled Property

Gets or sets a value that indicates whether the toolbar custom button is enabled, allowing it to respond to end-user interactions.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean true

true if the button is enabled; otherwise, false.

Remarks

When the Enabled property is set to false, the toolbar custom button doesn’t respond to end-user interactions. In this case, client-side functionality is completely disabled, so the button can’t then be enabled on the client by using the client ASPxClientMenuItem.SetEnabled method.

If you want to drive the button on the client side, use its FileManagerToolbarCustomButton.ClientEnabled property, rather than the Enabled property.

See Also