-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Input.FocusManager.FindFirstFocusableElement(Windows.UI.Xaml.DependencyObject) |
winrt method |
Retrieves the first element that can receive focus based on the specified scope.
The root object from which to search. If null, the search scope is the current window.
The first focusable object.
FindLastFocusableElement(DependencyObject searchScope), Keyboard interactions, Focus navigation for keyboard, gamepad, remote control, and accessibility tools, Programmatic focus navigation