NativeMenuNeedsUpdate Event

Raised when the menu requests an update.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public event EventHandler<EventArgs> NeedsUpdate

Value

EventHandlerEventArgs

Remarks

Use this event to add, remove or modify menu items before a menu is shown or a hotkey is pressed.

See Also