Skip to main content

XRDesignRibbonController.UnregisterCommandHandler(ICommandHandler) Method

OBSOLETE

The UnregisterCommandHandler method is obsolete now. Use the RemoveCommandHandler method instead.

Unregisters the specified command handler.

Namespace: DevExpress.XtraReports.UserDesigner

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

NuGet Package: DevExpress.Win.Reporting

Declaration

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

Parameters

Name Type Description
commandHandler ICommandHandler

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

Remarks

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

See Also