XRDesignRibbonController.UnregisterCommandHandler(ICommandHandler) Method

Obsolete. Unregisters the specified command handler.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v18.2.Extensions.dll

Declaration

[Obsolete("The UnregisterCommandHandler method is obsolete now. Use the XRDesignMdiController.RemoveCommandHandler method instead.")]
public void UnregisterCommandHandler(
    ICommandHandler commandHandler
)
<Obsolete("The UnregisterCommandHandler method is obsolete now. Use the XRDesignMdiController.RemoveCommandHandler method instead.")>
Public Sub UnregisterCommandHandler(
    commandHandler As ICommandHandler
)

Parameters

Type Name Description
ICommandHandler commandHandler

An object implementing the ICommandHandler interface, that represents the command handler.

Use the XRDesignRibbonController.RegisterCommandHandler and UnregisterCommandHandler methods, to register/unregister commands in the XRDesignRibbonController.

See Also