PrintingSystemBase.GetCommandVisibility(PrintingSystemCommand) Method
Gets the current visibility of the specified printing system command.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v18.2.Core.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetCommandVisibility(PrintingSystemCommand) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.