FocusNavigator Class
NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Input
PC-style tab order over the logical tree. Call from hardware mappings (e.g. next/previous) via InputProvider.RaiseFocusNavigation.
public static class FocusNavigator
Methods
TryMoveFocus(bool forward)
public static bool TryMoveFocus(bool forward)
Moves keyboard focus to the next or previous tab stop under Application.MainWindow.
Returns bool — True if focus was moved or already on a valid target.
TryMoveFocus(bool forward, UIElement scope)
public static bool TryMoveFocus(bool forward, UIElement scope)
Moves focus within the subtree rooted at scope.
Returns bool