Table of Contents

Event DropDownMenuShowing

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Occurs when a drop-down menu is about to be displayed, allowing the event handler to cancel the operation.

public event EventHandler<BaseCancelEventArgs>? DropDownMenuShowing

Returns

EventHandler<BaseCancelEventArgs>
Occurs when a drop-down menu is about to be displayed, allowing the event handler to cancel the operation.

Remarks

This event is raised before the drop-down menu is shown. Handlers can inspect the event arguments to determine the context of the menu and set the Cancel property to true to prevent the menu from being displayed.