PrintingSystemBase.GetCommandVisibility(PrintingSystemCommand) Method
Gets the current visibility of the specified printing system command.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public virtual CommandVisibility GetCommandVisibility(
PrintingSystemCommand command
)
#Parameters
Name | Type | Description |
---|---|---|
command | Printing |
A Command |
#Returns
Type | Description |
---|---|
Command |
A Printing |
#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.