Back to Devexpress

PrintControl.IsCommandEnabled(PrintingSystemCommand) Method

windowsforms-devexpress-dot-xtraprinting-dot-control-dot-printcontrol-dot-iscommandenabled-x28-devexpress-dot-xtraprinting-dot-printingsystemcommand-x29.md

latest1.9 KB
Original Source

PrintControl.IsCommandEnabled(PrintingSystemCommand) Method

Returns a value indicating whether or not the specified command is enabled.

Namespace : DevExpress.XtraPrinting.Control

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
public bool IsCommandEnabled(
    PrintingSystemCommand command
)
vb
Public Function IsCommandEnabled(
    command As PrintingSystemCommand
) As Boolean

Parameters

NameTypeDescription
commandPrintingSystemCommand

A PrintingSystemCommand enumeration value.

|

Returns

TypeDescription
Boolean

true if the command is enabled; otherwise, false.

|

See Also

CommandChanged

CanExecCommand(PrintingSystemCommand)

ExecCommand

PrintControl Class

PrintControl Members

DevExpress.XtraPrinting.Control Namespace