Browse Source

[Menu] [Interaction] Allow end user to change menu show delay globally

pull/6392/head
Sergey Mikolaytis 5 years ago
parent
commit
397267d1b5
  1. 2
      src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs

2
src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs

@ -115,7 +115,7 @@ namespace Avalonia.Controls.Platform
protected IMenu? Menu { get; private set; } protected IMenu? Menu { get; private set; }
protected static TimeSpan MenuShowDelay { get; } = TimeSpan.FromMilliseconds(400); public static TimeSpan MenuShowDelay { get; set; } = TimeSpan.FromMilliseconds(400);
protected internal virtual void GotFocus(object sender, GotFocusEventArgs e) protected internal virtual void GotFocus(object sender, GotFocusEventArgs e)
{ {

Loading…
Cancel
Save