Back to Devexpress

RibbonControl.RibbonPopupMenuShowing Event

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-c5dcc0cf.md

latest1.4 KB
Original Source

RibbonControl.RibbonPopupMenuShowing Event

Fires before the Ribbon’s context menu is displayed.

Namespace : DevExpress.Xpf.Ribbon

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public event RibbonPopupMenuShowingEventHandler RibbonPopupMenuShowing
vb
Public Event RibbonPopupMenuShowing As RibbonPopupMenuShowingEventHandler

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

RibbonPopupMenuClosed

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace