Skip to main content
A newer version of this page is available. .

XRDesignRibbonController.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.v19.1.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 commandHandler
)

Parameters

Name Type Description
commandHandler ICommandHandler

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

Remarks

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

See Also