IPrintingSystem.SetCommandVisibility(PrintingSystemCommand, Boolean) Method
If implemented by a class, changes the visibility of the specified printing system command.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
void SetCommandVisibility(
PrintingSystemCommand command,
bool visible
)
#Parameters
Name | Type | Description |
---|---|---|
command | Printing |
A Printing |
visible | Boolean | One of the Command |
#Remarks
Note
The Set
Every printing system command represents either a toolbar button, or a menu item, or both a button and a corresponding menu item in the Preview window. The values of the CommandVisibility enumeration represent the visibility states of the command. So, the SetCommandVisibility method allows the visibility of a single toolbar button or menu item to be altered.