-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Documents.ContentLink.Focus(Windows.UI.Xaml.FocusState) |
winrt method |
Attempts to set the focus on the link.
Specifies how focus was set, as a value of the enumeration.
true if focus was set to the link, or focus was already on the link. false if the link is not focusable.
Important
This API supports content links. The Windows features that enable content links are not available in versions of Windows after Windows 10 version 1903. Content links for XAML text controls will not function in versions of Windows later than version 1903.
For more info, see Control.Focus.