diff --git a/src/Avalonia.Controls/MenuItem.cs b/src/Avalonia.Controls/MenuItem.cs index 82fd8b1fca..64daa133a3 100644 --- a/src/Avalonia.Controls/MenuItem.cs +++ b/src/Avalonia.Controls/MenuItem.cs @@ -26,7 +26,10 @@ namespace Avalonia.Controls /// Defines the property. /// public static readonly DirectProperty CommandProperty = - Button.CommandProperty.AddOwner(menuItem => menuItem.Command, (menuItem, command) => menuItem.Command = command, enableDataValidation: true); + Button.CommandProperty.AddOwner( + menuItem => menuItem.Command, + (menuItem, command) => menuItem.Command = command, + enableDataValidation: true); /// /// Defines the property.