Hi,
Q: Add keyboard shortcut (Window+1) to toggle Output State on/off
Consider following codes, it doesn't work!.
private void Grid_KeyDown(object sender, Windows.UI.Xaml.Input.KeyRoutedEventArgs e)
{
if ((e.Key == VirtualKey.RightWindows) && (e.Key == VirtualKey.NumberPad1))
{
// Business logic
}
//else e.Handled = true;
}
Best Regards,
WP