CommandVisibility Enum
Specifies the visibility levels for the report commands in the End-User Designer.
Namespace: DevExpress.XtraReports.UserDesigner
Assembly: DevExpress.XtraReports.v24.2.Extensions.dll
NuGet Package: DevExpress.Win.Reporting
Declaration
Members
Name | Description |
---|---|
None
|
The command is inaccessible. |
Toolbar
|
The command is visible in the toolbar and menu only. If this command doesn’t have an associated bar or menu item, the SetCommandVisibility method doesn’t change its visibility. |
ContextMenu
|
The command is visible in the context menu only. If this command doesn’t have an associated context menu item, the SetCommandVisibility method doesn’t change its visibility. |
Verb
|
The command is available as a context link only. If this command doesn’t have an associated verb, the SetCommandVisibility method doesn’t change its visibility. |
All
|
The command is visible wherever it can be available. |
Remarks
This enumeration’s members are used to specify the visibility level for the report commands via the XRDesignPanel.SetCommandVisibility method. A list of all the report commands is provided by the ReportCommand enumeration.
Note
Every report command represents either a toolbar button and a menu item, or a context menu item, or a context link, or any of them. Thus if the visibility level is set to ContextMenu and there is no context menu item for the report command specified, then no context menu items will be shown anyway.