XRDesignRibbonController.UnregisterCommandHandler(ICommandHandler) Method

Obsolete. Unregisters the specified command handler.

Namespace: DevExpress.XtraReports.UserDesigner

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

Syntax

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

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