Added KeyBindingTriggerBehavior
This commit is contained in:
@@ -7,9 +7,11 @@
|
||||
Width="300"
|
||||
Classes="revealPasswordButton"
|
||||
PasswordChar="●">
|
||||
<TextBox.KeyBindings>
|
||||
<KeyBinding Gesture="Enter" />
|
||||
</TextBox.KeyBindings>
|
||||
<Interaction.Behaviors>
|
||||
<KeyBindingTriggerBehavior Gesture="Enter">
|
||||
<NavigateAction Context="Main" Route="Vault" />
|
||||
</KeyBindingTriggerBehavior>
|
||||
</Interaction.Behaviors>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
|
||||
Reference in New Issue
Block a user