I have to write an app for a Raspberry Pi 2 and I'm using VS2015 Universal Windows app.
In my previous projects I have used the following code to bind key events:
<TextBox>
<TextBox.InputBindings>
<KeyBinding Command="{Binding LoginCommand}" Key="Enter" />
</TextBox.InputBindings>
</TextBox
In WinRT there's no such thing as <TextBox.InputBindings>
. What is the equivalent of WPF MVVM's TextBox.InputBindings
in WinRT?