Skip to main content

XRDesignMdiController.RemoveCommandHandler(ICommandHandler) Method

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

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v24.1.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

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