Skip to main content

PrintingSystemBase.GetCommandVisibility(PrintingSystemCommand) Method

Gets the current visibility of the specified printing system command.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public virtual CommandVisibility GetCommandVisibility(
    PrintingSystemCommand command
)

Parameters

Name Type Description
command PrintingSystemCommand

A CommandVisibility enumeration value which represents the visibility of the specified command.

Returns

Type Description
CommandVisibility

A PrintingSystemCommand enumeration value which specifies the command whose visibility is to be determined.

Remarks

Every printing system command is represented by either a toolbar button or a menu item, or both, in the Preview window. The values of the CommandVisibility enumeration represent the visibility states of the command. So, the GetCommandVisibility method allows the current visibility state of the printing system command to be determined.

To change the visibility of the specified printing system command, use the PrintingSystemBase.SetCommandVisibility method.

See Also