From 67e5962680c831fa6046ded59c66125cef3675e7 Mon Sep 17 00:00:00 2001 From: Giuseppe Lippolis Date: Thu, 28 Oct 2021 10:13:44 +0200 Subject: [PATCH] fix(TrayIcon): CommandParameter alow null --- src/Avalonia.Controls/TrayIcon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Controls/TrayIcon.cs b/src/Avalonia.Controls/TrayIcon.cs index 59edb6278a..9fbc2fc8b2 100644 --- a/src/Avalonia.Controls/TrayIcon.cs +++ b/src/Avalonia.Controls/TrayIcon.cs @@ -140,7 +140,7 @@ namespace Avalonia.Controls /// Gets or sets the parameter to pass to the property of a /// . /// - public object CommandParameter + public object? CommandParameter { get { return GetValue(CommandParameterProperty); } set { SetValue(CommandParameterProperty, value); }