Skip to main content

XRDesignBarManager.RegisterCommandHandler(ICommandHandler) Method

OBSOLETE

The RegisterCommandHandler method is obsolete now. Use the AddCommandHandler method instead.

Registers the specified command handler.

Namespace: DevExpress.XtraReports.UserDesigner

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

NuGet Package: DevExpress.Win.Reporting

Declaration

[Obsolete("The RegisterCommandHandler method is obsolete now. Use the XRDesignMdiController.AddCommandHandler method instead.")]
public void RegisterCommandHandler(
    ICommandHandler handler
)

Parameters

Name Type Description
handler ICommandHandler

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

Remarks

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

See Also