XRDesignMdiController.RemoveCommandHandler(ICommandHandler) Method

Removes the specified command handler for one or several of the report commands.

Namespace: DevExpress.XtraReports.UserDesigner

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

Declaration

public void RemoveCommandHandler(
    ICommandHandler handler
)
Public Sub RemoveCommandHandler(
    handler As ICommandHandler
)

Parameters

Type Name Description
ICommandHandler handler

An object which implements the ICommandHandler interface.

Note

The RemoveCommandHandler method takes effect only in Windows Forms applications, where it must be called after the DocumentViewer.DocumentSource property has been assigned a value.

Call the RemoveCommandHandler method, to remove an existing command handler for any of the report commands listed in the ReportCommand enumeration.

To add custom command handler to one or several report commands, call the XRDesignMdiController.AddCommandHandler method.

See Also