Browse Source

formatting.

pull/2352/head
Dan Walmsley 8 years ago
parent
commit
9edbd199e9
  1. 5
      src/Avalonia.Controls/MenuItem.cs

5
src/Avalonia.Controls/MenuItem.cs

@ -26,7 +26,10 @@ namespace Avalonia.Controls
/// Defines the <see cref="Command"/> property. /// Defines the <see cref="Command"/> property.
/// </summary> /// </summary>
public static readonly DirectProperty<MenuItem, ICommand> CommandProperty = public static readonly DirectProperty<MenuItem, ICommand> CommandProperty =
Button.CommandProperty.AddOwner<MenuItem>(menuItem => menuItem.Command, (menuItem, command) => menuItem.Command = command, enableDataValidation: true); Button.CommandProperty.AddOwner<MenuItem>(
menuItem => menuItem.Command,
(menuItem, command) => menuItem.Command = command,
enableDataValidation: true);
/// <summary> /// <summary>
/// Defines the <see cref="HotKey"/> property. /// Defines the <see cref="HotKey"/> property.

Loading…
Cancel
Save