DashboardPopupMenuShowingEventArgs Class

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v18.2.Win.dll

Declaration

public class DashboardPopupMenuShowingEventArgs :
    DashboardItemMouseHitTestEventArgs
Public Class DashboardPopupMenuShowingEventArgs
    Inherits DashboardItemMouseHitTestEventArgs

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.

Inheritance

See Also