Interface IKeyboardNavigationHandler
Defines the interface for classes that handle keyboard navigation for a window.
[Unstable]
public interface IKeyboardNavigationHandler
Methods
Move(IInputElement, NavigationDirection, KeyModifiers)
Moves the focus in the specified direction.
void Move(IInputElement element, NavigationDirection direction, KeyModifiers keyModifiers = KeyModifiers.None)
Parameters
element
IInputElementThe current element.
direction
NavigationDirectionThe direction to move.
keyModifiers
KeyModifiersAny key modifiers active at the time of focus.
SetOwner(IInputRoot)
Sets the owner of the keyboard navigation handler.
[PrivateApi]
void SetOwner(IInputRoot owner)
Parameters
owner
IInputRootThe owner.
Remarks
This method can only be called once, typically by the owner itself on creation.