// ----------------------------------------------------------------------- // // Copyright 2015 MIT Licence. See licence.md for more information. // // ----------------------------------------------------------------------- namespace Perspex.Input { /// /// Defines the interface for classes that handle keyboard navigation for a window. /// public interface IKeyboardNavigationHandler { /// /// Sets the owner of the keyboard navigation handler. /// /// The owner. /// /// This method can only be called once, typically by the owner itself on creation. /// void SetOwner(IInputRoot owner); /// /// Moves the focus in the specified direction. /// /// The current element. /// The direction to move. void Move(IInputElement element, FocusNavigationDirection direction); } }