# INavigableContainer

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/input/trait-inavigablecontainer/

**trait** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
trait INavigableContainer
```

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

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/i_navigable_container.rs#L6)

## Members

- [`get_control`](#function-get_control)

<a id="function-get_control"></a>

### get_control

```rust
fn get_control(self: &Self, direction: NavigationDirection, from: Option<&Ref<InputElement>>, wrap: bool) -> Option<Ref<InputElement>>
```

Gets the next control in the specified direction.

`from` is the control from which movement begins and `wrap` tells
whether to wrap around when the first or last item is reached.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/i_navigable_container.rs#L11)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
