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

RibbonControl.RibbonPopupMenuShowing Event

Fires before the Ribbon’s context menu is displayed.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Ribbon, DevExpress.Wpf.Navigation

Declaration

public event RibbonPopupMenuShowingEventHandler RibbonPopupMenuShowing

Event Data

The RibbonPopupMenuShowing event's data class is DevExpress.Xpf.Ribbon.RibbonPopupMenuShowingEventArgs.

Remarks

Right-clicking the Ribbon displays a context menu. You can handle the RibbonPopupMenuShowing event to extend the default menu, by adding custom items.

To respond to closing the menu, handle the RibbonControl.RibbonPopupMenuClosed event.

See Also