Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 962 Bytes

contentlink_focus_195503898.md

File metadata and controls

35 lines (21 loc) · 962 Bytes
-api-id -api-type
M:Windows.UI.Xaml.Documents.ContentLink.Focus(Windows.UI.Xaml.FocusState)
winrt method

Windows.UI.Xaml.Documents.ContentLink.Focus

-description

Attempts to set the focus on the link.

-parameters

-param value

Specifies how focus was set, as a value of the enumeration.

-returns

true if focus was set to the link, or focus was already on the link. false if the link is not focusable.

-remarks

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.

-see-also

-examples