Browse Source

fix(TrayIcon): CommandParameter alow null

pull/6754/head
Giuseppe Lippolis 5 years ago
parent
commit
67e5962680
  1. 2
      src/Avalonia.Controls/TrayIcon.cs

2
src/Avalonia.Controls/TrayIcon.cs

@ -140,7 +140,7 @@ namespace Avalonia.Controls
/// Gets or sets the parameter to pass to the <see cref="Command"/> property of a
/// <see cref="TrayIcon"/>.
/// </summary>
public object CommandParameter
public object? CommandParameter
{
get { return GetValue(CommandParameterProperty); }
set { SetValue(CommandParameterProperty, value); }

Loading…
Cancel
Save