Skip to main content

XRDesignBarManager.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 handler
)

Parameters

Name Type Description
handler ICommandHandler

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

Remarks

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

See Also