private static void FocusNative(UIElement control) { if (control?.AcceptsFirstResponder() == true) { Window.Current?.NativeWindow?.MakeFirstResponder(control); } }