HypernovaDesktop Components · docs
Binarymission
WinFormsAlert Popup › ContextMenuShowHandler

ContextMenuShowHandler

delegate.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.NotificationControls

Provides the method signature for handling the event ContextMenuShown.

public delegate void ContextMenuShowHandler(object sender, ref bool cancelContextMenuDisplayNow);

Remarks

Set the reference parameter "cancelContextMenuDisplayNow" to true if you want to not to display the context menu that is about to be shown.
By default, the context menu will be shown.