diff --git a/src/Uno.UI/UI/Xaml/UIElement.Properties.cs b/src/Uno.UI/UI/Xaml/UIElement.Properties.cs index d19335e37126..d1be6557e0ff 100644 --- a/src/Uno.UI/UI/Xaml/UIElement.Properties.cs +++ b/src/Uno.UI/UI/Xaml/UIElement.Properties.cs @@ -82,7 +82,7 @@ public FlyoutBase ContextFlyout public IList KeyboardAccelerators { - get => GetKeyboardAcceleratorsValue(); + get => GetKeyboardAcceleratorsValue() ?? (KeyboardAccelerators = new List()); set => SetKeyboardAcceleratorsValue(value); } }