private async void Button_PreviewTouchDown(object sender, TouchEventArgs e) { if (await WPFHelper.TouchHold(sender as FrameworkElement, TimeSpan.FromSeconds(.5))) //More than enough { ShellKeyCombo(VirtualKeyShort.LWIN, VirtualKeyShort.TAB); } else { //TODO: Desktop mode uses ALT + ESC, so check if it's in tablet mode or desktop mode ShellKeyCombo(VirtualKeyShort.LWIN, VirtualKeyShort.BACK); } }