-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Documents.Hyperlink.Focus(Microsoft.UI.Xaml.FocusState) |
winrt method |
Attempts to set the focus on the hyperlink.
Specifies how focus was set, as a value of the enumeration.
true if focus was set to the hyperlink, or focus was already on the hyperlink. false if the hyperlink is not focusable.
For more info, see UIElement.Focus(Microsoft.UI.Xaml.FocusState).
UIElement.Focus(Microsoft.UI.Xaml.FocusState), Hyperlink.GotFocus, Hyperlink.LostFocus, Keyboard interactions, Keyboard accessibility, Touch keyboard sample