diff --git a/Microsoft.Toolkit.Uwp.UI.Behaviors/Keyboard/KeyDownTriggerBehavior.cs b/Microsoft.Toolkit.Uwp.UI.Behaviors/Keyboard/KeyDownTriggerBehavior.cs index df3a910aa..18f302ac0 100644 --- a/Microsoft.Toolkit.Uwp.UI.Behaviors/Keyboard/KeyDownTriggerBehavior.cs +++ b/Microsoft.Toolkit.Uwp.UI.Behaviors/Keyboard/KeyDownTriggerBehavior.cs @@ -17,7 +17,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Behaviors /// Identifies the property. /// public static readonly DependencyProperty KeyProperty = DependencyProperty.Register( - "Key", + nameof(Key), typeof(VirtualKey), typeof(KeyDownTriggerBehavior), new PropertyMetadata(null));