// ----------------------------------------------------------------------- // // 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 to the next control in tab order. /// /// The current element. void TabNext(IInputElement element); /// /// Moves the focus to the previous control in tab order. /// /// The current element. void TabPrevious(IInputElement element); } }