-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Controls.TextBlock.Focus(Windows.UI.Xaml.FocusState) |
winrt method |
Focuses the TextBlock, as if it were a conventionally focusable control.
Specifies the desired target for focus state, as a value of the enumeration.
true if focus was set to the TextBlock, or focus was already there. false if the TextBlock is not focusable.