Skip to main content

ASPxClientRibbonItem.SetEnabled(enabled) Method

Sets a value specifying whether the item is enabled.

#Declaration

TypeScript
SetEnabled(
    enabled: boolean
): void

#Parameters

Name Type Description
enabled boolean

true to enable the item; false to disable it.

#Remarks

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

See Also