Skip to main content

ASPxClientRibbonTab.SetEnabled(enabled) Method

Sets a value specifying whether the tab is enabled.

#Declaration

TypeScript
SetEnabled(
    enabled: boolean
): void

#Parameters

Name Type Description
enabled boolean

true to enable the tab; false to disable it.

#Remarks

Use the SetEnabled method on the client to dynamically switch a tab’s ability to respond to end-user interactions (such as mouse hovering or clicks). To get the tab state, use the ASPxClientRibbonTab.GetEnabled method.

See Also