// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. namespace Avalonia.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. /// Any input modifiers active at the time of focus. void Move( IInputElement element, NavigationDirection direction, InputModifiers modifiers = InputModifiers.None); } }