Back to Devexpress

DashboardPopupMenuShowingEventArgs.Allow Property

dashboard-devexpress-dot-dashboardwin-dot-dashboardpopupmenushowingeventargs-4ed0107f.md

latest2.6 KB
Original Source

DashboardPopupMenuShowingEventArgs.Allow Property

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

Declaration

csharp
public bool Allow { get; set; }
vb
Public Property Allow As Boolean

Property Value

TypeDescription
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.

winforms-dashboard-customize-title-and-item-captions/CS/CustomizeDashboardItemCaptionExample/ViewerForm1.cs#L93

csharp
if (e.DashboardArea == DashboardArea.DashboardItem)
        e.Allow = false;
}

winforms-dashboard-customize-title-and-item-captions/VB/CustomizeDashboardItemCaptionExample/ViewerForm1.vb#L95

vb
If e.DashboardArea = DashboardArea.DashboardItem Then
    e.Allow = False
End If

See Also

Menu

DashboardPopupMenuShowingEventArgs Class

DashboardPopupMenuShowingEventArgs Members

DevExpress.DashboardWin Namespace