Skip to main content
A newer version of this page is available. .

DashboardPopupMenuShowingEventArgs Class

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v20.1.Win.dll

NuGet Packages: DevExpress.Win.Dashboard, DevExpress.WindowsDesktop.Win.Dashboard

Declaration

public class DashboardPopupMenuShowingEventArgs :
    DashboardItemMouseHitTestEventArgs

Remarks

The DashboardViewer.PopupMenuShowing and the DashboardDesigner.PopupMenuShowing events occur when an end-user invokes a popup menu and allows you to customize this menu. A customizable popup menu can be invoked when an end-user:

To identify the popup menu location, use the DashboardPopupMenuShowingEventArgs.DashboardArea property. To get the area of the dashboard item for which the event has been raised, use the DashboardPopupMenuShowingEventArgs.DashboardItemArea property. To obtain the dashboard item name for which the event has been raised, use the DashboardItemMouseEventArgs.DashboardItemName property. To identify the clicked command button, use the DashboardPopupMenuShowingEventArgs.ButtonType property.

Use the DashboardPopupMenuShowingEventArgs.Menu property to customize a popup menu. To prevent end-users from invoking a popup menu, set the DashboardPopupMenuShowingEventArgs.Allow property to false or assign null to the DashboardPopupMenuShowingEventArgs.Menu property.

See Also