# NavigationViewItemProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-navigationviewitemprops/

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

```rust
trait NavigationViewItemProps: ElementBuilder
```

The properties and routed events of `NavigationViewItem`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5427)

## Members

- [`icon`](#function-icon)
- [`info_badge`](#function-info_badge)
- [`selects_on_invoked`](#function-selects_on_invoked)
- [`is_expanded`](#function-is_expanded)
- [`has_unrealized_children`](#function-has_unrealized_children)
- [`is_child_selected`](#function-is_child_selected)
- [`menu_items_source`](#function-menu_items_source)

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

### icon

```rust
fn icon<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::IconElement>>, M>) -> Self
```

Sets `NavigationViewItem::icon_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5429)

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

### info_badge

```rust
fn info_badge<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::InfoBadge>>, M>) -> Self
```

Sets `NavigationViewItem::info_badge_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5434)

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

### selects_on_invoked

```rust
fn selects_on_invoked<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `NavigationViewItem::selects_on_invoked_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5439)

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

### is_expanded

```rust
fn is_expanded<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `NavigationViewItem::is_expanded_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5444)

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

### has_unrealized_children

```rust
fn has_unrealized_children<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `NavigationViewItem::has_unrealized_children_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5449)

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

### is_child_selected

```rust
fn is_child_selected<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `NavigationViewItem::is_child_selected_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5454)

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

### menu_items_source

```rust
fn menu_items_source<M>(self: Self, value: impl IntoProp<Option<ferroui_controls::ItemsSource>, M>) -> Self
```

Sets `NavigationViewItem::menu_items_source_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5459)

## Trait implementations

- [`NavigationViewItemProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-navigationviewitemprops/)

## Availability

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