The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRDesignMdiController.RemoveCommandHandler(ICommandHandler) Method

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

Namespace: DevExpress.XtraReports.UserDesigner

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

Declaration

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

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