dashboard-devexpress-dot-dashboardwin-dot-dashboardpopupmenushowingeventargs-4ed0107f.md
Gets or sets whether end-users can invoke a popup menu.
Namespace : DevExpress.DashboardWin
Assembly : DevExpress.Dashboard.v25.2.Win.dll
NuGet Package : DevExpress.Win.Dashboard
public bool Allow { get; set; }
Public Property Allow As Boolean
| Type | Description |
|---|---|
| Boolean |
true , to allow end-users to invoke the popup menu; otherwise, false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Allow 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.
if (e.DashboardArea == DashboardArea.DashboardItem)
e.Allow = false;
}
If e.DashboardArea = DashboardArea.DashboardItem Then
e.Allow = False
End If
See Also
DashboardPopupMenuShowingEventArgs Class