set focus to a textBox in uwp [duplicate]
问题 This question already has answers here : Uwp navigation example and focusing on control (2 answers) Closed 2 years ago . I have a Universal Windows Platform project that has a textBox element. I'd like to set the focus to it when a Radio Button is clicked. In the Radio Button click event, I can say: txtBoxID.IsEnabled = true; txtBoxID.Text = ""; But how do I set the focus? I saw some answers saying to use: FocusManager.SetFocusedElement( but my FocusManager class doesn't have that method.