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

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
)

Parameters

Name Type Description
handler ICommandHandler

An object which implements the ICommandHandler interface.

Remarks

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