private void OnItemClicked(object sender, EventArgs e) { PlayerPage player = new PlayerPage(); player.Disappearing += (s, ev) => FocusButton.Focus(); Navigation.PushAsync(player); }
private void FocusKeyboard(object sender, RoutedEventArgs e) { FocusButton.Focus(FocusState.Keyboard); }
// Use this for initialization void Start() { //1つのUIを除いて選択不能にする focusButton.Focus(); }
private void FocusPointer(object sender, RoutedEventArgs e) { FocusButton.Focus(FocusState.Pointer); }