Browse Source

add documentation for NeedsUpdate event.

pull/3762/head
Dan Walmsley 6 years ago
parent
commit
b142fbbba4
  1. 3
      src/Avalonia.Controls/NativeMenu.cs

3
src/Avalonia.Controls/NativeMenu.cs

@ -15,6 +15,9 @@ namespace Avalonia.Controls
[Content]
public IList<NativeMenuItemBase> Items => _items;
/// <summary>
/// Raised when the user clicks the menu and before its opened. Use this event to update the menu dynamically.
/// </summary>
public event EventHandler<EventArgs> NeedsUpdate;
public NativeMenu()

Loading…
Cancel
Save