NativeMenu.

NeedsUpdate Event

Summary

Raised when the menu requests an update.
Namespace
Avalonia.Controls
Containing Type
NativeMenu
Event Type
EventHandler<EventArgs>

Syntax

public event EventHandler<EventArgs> NeedsUpdate

Remarks

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