CommandVisibility Enum

Specifies the visibility levels for the report commands in the End-User Designer.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v18.1.Extensions.dll

Declaration

[Flags]
public enum CommandVisibility
<Flags>
Public Enum CommandVisibility

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.

Name Description
All

The command is visible wherever it can be available.

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.

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.

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.

See Also