Hyperlink.Focus(FocusState) Hyperlink.Focus(FocusState) Hyperlink.Focus(FocusState) Hyperlink.Focus(FocusState) Method

Definition

Attempts to set the focus on the hyperlink.

public : Platform::Boolean Focus(FocusState value)
bool Focus(FocusState value) const;
public bool Focus(FocusState value)
Public Function Focus(value As FocusState) As bool

Parameters

value
FocusState FocusState

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

Returns

bool bool

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

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

For more info, see Control.Focus.

See also