Пример #1
0
 private void SetupKeyboardAccelerators()
 {
     if (UiUtils.IsKeyboardAcceleratorApiAvailable())
     {
         foreach (KeyboardAccelerator accelerator in UiUtils.GetGoBackKeyboardAccelerators())
         {
             accelerator.Invoked += Accelerator_Invoked;
             KeyboardAccelerators.Add(accelerator);
         }
     }
 }