dashboard-devexpress-dot-dashboardwin-dot-dashboardpopupmenushowingeventargs.md
Gets the value that identifies a popup menu location within the dashboard.
Namespace : DevExpress.DashboardWin
Assembly : DevExpress.Dashboard.v25.2.Win.dll
NuGet Package : DevExpress.Win.Dashboard
public DashboardArea DashboardArea { get; }
Public ReadOnly Property DashboardArea As DashboardArea
| Type | Description |
|---|---|
| DashboardArea |
A DashboardArea enumeration value that identifies a popup menu location within the dashboard.
|
Available values:
| Name | Description |
|---|---|
| DashboardTitle |
Identifies a dashboard title.
| | DashboardItemCaption |
Identifies a dashboard item caption.
| | DashboardItem |
Identifies a dashboard item.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DashboardArea property.
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.
// Hide popup menu everywhere except the dashboard title, to hide commands related to the export actions.
if (e.DashboardArea == DashboardArea.DashboardItem)
e.Allow = false;
' Hide popup menu everywhere except the dashboard title, to hide commands related to the export actions.
If e.DashboardArea = DashboardArea.DashboardItem Then
e.Allow = False
See Also
DashboardPopupMenuShowingEventArgs Class