Browse Source

Fixed AddOwner call for HotKeyProperty

pull/227/head
Nikita Tsukanov 11 years ago
parent
commit
2152300be5
  1. 2
      src/Perspex.Controls/MenuItem.cs

2
src/Perspex.Controls/MenuItem.cs

@ -29,7 +29,7 @@ namespace Perspex.Controls
Button.CommandProperty.AddOwner<MenuItem>();
public static readonly PerspexProperty<KeyGesture> HotKeyProperty =
HotKeyManager.HotKeyProperty.AddOwner<Button>();
HotKeyManager.HotKeyProperty.AddOwner<MenuItem>();
/// <summary>
/// Defines the <see cref="CommandParameter"/> property.

Loading…
Cancel
Save