Skip to main content

INavigableContainer Interface

Definition

Namespace:Avalonia.Input
Assembly:Avalonia.Base
Package:Avalonia

Defines a container in which the child controls can be navigated by keyboard.

public interface INavigableContainer

Methods

NameDescription
GetControlGets the next control in the specified direction.

GetControl Method

Gets the next control in the specified direction.

public Avalonia.Input.IInputElement GetControl(Avalonia.Input.NavigationDirection direction, Avalonia.Input.IInputElement from, bool wrap)

Parameters

direction Avalonia.Input.NavigationDirection

The movement direction.

from Avalonia.Input.IInputElement

The control from which movement begins.

wrap bool

Whether to wrap around when the first or last item is reached.

Returns

Avalonia.Input.IInputElement

The control.