private void ActivateLayout(IKeyboardLayout layout) { Popup.IsOpen = false; keyboard.ActivateLayout(layout.Id); }