Skip to main content

DataGridLink.HandleCommand(PrintingSystemCommand, Object[], IPrintControl, ref Boolean) Method

Handles the specified Printing System command.

Namespace: DevExpress.XtraPrintingLinks

Assembly: DevExpress.XtraPrinting.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

public override void HandleCommand(
    PrintingSystemCommand command,
    object[] args,
    IPrintControl printControl,
    ref bool handled
)

Parameters

Name Type Description
command PrintingSystemCommand

A PrintingSystemCommand enumeration value which specifies the command to be handled.

args Object[]

A collection of Object objects representing the parameters to be passed to the handled command.

printControl IPrintControl

An object implementing the IPrintControl interface (most typically, it is the PrintControl class instance).

handled Boolean

true if the command has been handled by a link; otherwise, false.

Remarks

To check whether or not a command can be handled, use the DataGridLink.CanHandleCommand property.

See Also