Skip to main content

ContextMenu.Opening Event

Fires when the context menu is about to be invoked.

Namespace: DevExpress.UI.Xaml

Assembly: DevExpress.UI.Xaml.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public event EventHandler<ContextMenuOpeningEventArgs> Opening

Event Data

The Opening event's data class is DevExpress.UI.Xaml.ContextMenuOpeningEventArgs.

Remarks

You can handle this event to customize the menu context or prevent it from being invoked. To cancel invoking the menu, set the event’s Cancel parameter to true.

See Also