Dela via


ContentLink.FocusState Property

Definition

Gets a value that specifies whether this link has focus, and the mode by which focus was obtained.

public:
 property FocusState FocusState { FocusState get(); };
FocusState FocusState();
public FocusState FocusState { get; }
var focusState = contentLink.focusState;
Public ReadOnly Property FocusState As FocusState

Property Value

A value of the enumeration. A value of Unfocused indicates that the link does not have focus.

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.FocusState.

Applies to