PrintingSystemBase.GetCommandVisibility(PrintingSystemCommand) Method

Gets the current visibility of the specified printing system command.

Namespace: DevExpress.XtraPrinting

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


public virtual CommandVisibility GetCommandVisibility(
    PrintingSystemCommand command


Name Type Description
command PrintingSystemCommand

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


Type Description

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


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