# NavigationView

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/struct-navigationview/

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

```rust
struct NavigationView
```

A navigation pane with menu items and a content area (WinUI's `NavigationView`).

The pane is at the left (`Left`, `LeftCompact`, `LeftMinimal`, or chosen by the width in `Auto`:
the display modes `Expanded`, `Compact` and `Minimal`) or at the top (`Top`). The template of the
WinUI theme is WinUI's (`NavigationView.xaml`): the control finds WinUI's parts (`RootSplitView`,
`TogglePaneButton`, `NavigationViewBackButton`, `NavigationViewCloseButton`,
`PaneAutoSuggestButton`, `PaneTitleTextBlock`, `PaneTitleHolder`, `PaneTitlePresenter`,
`PaneTitleOnTopPane`, `MenuItemsHost`, `FooterMenuItemsHost`, `TopNavMenuItemsHost`,
`TopFooterMenuItemsHost`, the content controls of the pane header, custom content, footer and auto
suggest box of the left and the top pane, `ContentLeftPadding`), sets their contents and the
values of `template_settings` as WinUI's code does, and sets WinUI's
visual states as pseudo-classes (`:compact`, `:expanded`, `:minimal`, `:top-navigation-minimal`,
`:minimal-with-back-button`, `:toggle-pane-button-visible`, `:header-collapsed`,
`:auto-suggest-box-collapsed`, `:closed-compact`, `:list-size-compact`, `:pane-not-overlaying`,
`:back-button-collapsed`, `:pane-collapsed`, and `:back-button-row-visible` for the row WinUI
sizes in code). The Fluent and Simple themes have no template.

The menu items are realized in stack panels, not in `ItemsRepeater`s with a hierarchical
`SelectionModel` (follow-up F1). Missing (docs/porting/winui-controls.md, section 10.4): the
overflow of the top pane, the animations of the pane, the
shadow of the pane, the padding of the title bar, the shoulder navigation and the selectors of
templates and styles.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L155)

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`is_pane_open_property`](#function-is_pane_open_property)
- [`compact_mode_threshold_width_property`](#function-compact_mode_threshold_width_property)
- [`expanded_mode_threshold_width_property`](#function-expanded_mode_threshold_width_property)
- [`is_settings_visible_property`](#function-is_settings_visible_property)
- [`is_pane_toggle_button_visible_property`](#function-is_pane_toggle_button_visible_property)
- [`always_show_header_property`](#function-always_show_header_property)
- [`compact_pane_length_property`](#function-compact_pane_length_property)
- [`open_pane_length_property`](#function-open_pane_length_property)
- [`is_pane_visible_property`](#function-is_pane_visible_property)
- [`is_back_enabled_property`](#function-is_back_enabled_property)
- [`is_back_button_visible_property`](#function-is_back_button_visible_property)
- [`pane_display_mode_property`](#function-pane_display_mode_property)
- [`selection_follows_focus_property`](#function-selection_follows_focus_property)
- [`pane_title_property`](#function-pane_title_property)
- [`header_property`](#function-header_property)
- [`header_template_property`](#function-header_template_property)
- [`selected_item_property`](#function-selected_item_property)
- [`pane_header_property`](#function-pane_header_property)
- [`pane_footer_property`](#function-pane_footer_property)
- [`pane_custom_content_property`](#function-pane_custom_content_property)
- [`content_overlay_property`](#function-content_overlay_property)
- [`auto_suggest_box_property`](#function-auto_suggest_box_property)
- [`menu_items_source_property`](#function-menu_items_source_property)
- [`footer_menu_items_source_property`](#function-footer_menu_items_source_property)
- [`menu_item_template_property`](#function-menu_item_template_property)
- [`pane_toggle_button_style_property`](#function-pane_toggle_button_style_property)
- [`menu_item_container_style_property`](#function-menu_item_container_style_property)
- [`menu_items_property`](#function-menu_items_property)
- [`footer_menu_items_property`](#function-footer_menu_items_property)
- [`settings_item_property`](#function-settings_item_property)
- [`display_mode_property`](#function-display_mode_property)
- [`template_settings_property`](#function-template_settings_property)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`menu_items`](#function-menu_items)
- [`footer_menu_items`](#function-footer_menu_items)
- [`settings_item`](#function-settings_item)
- [`template_settings`](#function-template_settings)
- [`display_mode`](#function-display_mode)
- [`is_pane_open`](#function-is_pane_open)
- [`set_is_pane_open`](#function-set_is_pane_open)
- [`compact_mode_threshold_width`](#function-compact_mode_threshold_width)
- [`set_compact_mode_threshold_width`](#function-set_compact_mode_threshold_width)
- [`expanded_mode_threshold_width`](#function-expanded_mode_threshold_width)
- [`set_expanded_mode_threshold_width`](#function-set_expanded_mode_threshold_width)
- [`is_settings_visible`](#function-is_settings_visible)
- [`set_is_settings_visible`](#function-set_is_settings_visible)
- [`is_pane_toggle_button_visible`](#function-is_pane_toggle_button_visible)
- [`set_is_pane_toggle_button_visible`](#function-set_is_pane_toggle_button_visible)
- [`always_show_header`](#function-always_show_header)
- [`set_always_show_header`](#function-set_always_show_header)
- [`compact_pane_length`](#function-compact_pane_length)
- [`set_compact_pane_length`](#function-set_compact_pane_length)
- [`open_pane_length`](#function-open_pane_length)
- [`set_open_pane_length`](#function-set_open_pane_length)
- [`is_pane_visible`](#function-is_pane_visible)
- [`set_is_pane_visible`](#function-set_is_pane_visible)
- [`is_back_enabled`](#function-is_back_enabled)
- [`set_is_back_enabled`](#function-set_is_back_enabled)
- [`is_back_button_visible`](#function-is_back_button_visible)
- [`set_is_back_button_visible`](#function-set_is_back_button_visible)
- [`pane_display_mode`](#function-pane_display_mode)
- [`set_pane_display_mode`](#function-set_pane_display_mode)
- [`selection_follows_focus`](#function-selection_follows_focus)
- [`set_selection_follows_focus`](#function-set_selection_follows_focus)
- [`pane_title`](#function-pane_title)
- [`set_pane_title`](#function-set_pane_title)
- [`header`](#function-header)
- [`set_header`](#function-set_header)
- [`header_template`](#function-header_template)
- [`set_header_template`](#function-set_header_template)
- [`selected_item`](#function-selected_item)
- [`set_selected_item`](#function-set_selected_item)
- [`pane_header`](#function-pane_header)
- [`set_pane_header`](#function-set_pane_header)
- [`pane_footer`](#function-pane_footer)
- [`set_pane_footer`](#function-set_pane_footer)
- [`pane_custom_content`](#function-pane_custom_content)
- [`set_pane_custom_content`](#function-set_pane_custom_content)
- [`content_overlay`](#function-content_overlay)
- [`set_content_overlay`](#function-set_content_overlay)
- [`auto_suggest_box`](#function-auto_suggest_box)
- [`set_auto_suggest_box`](#function-set_auto_suggest_box)
- [`menu_items_source`](#function-menu_items_source)
- [`set_menu_items_source`](#function-set_menu_items_source)
- [`footer_menu_items_source`](#function-footer_menu_items_source)
- [`set_footer_menu_items_source`](#function-set_footer_menu_items_source)
- [`menu_item_template`](#function-menu_item_template)
- [`set_menu_item_template`](#function-set_menu_item_template)
- [`pane_toggle_button_style`](#function-pane_toggle_button_style)
- [`set_pane_toggle_button_style`](#function-set_pane_toggle_button_style)
- [`menu_item_container_style`](#function-menu_item_container_style)
- [`set_menu_item_container_style`](#function-set_menu_item_container_style)
- [`selection_changed`](#function-selection_changed)
- [`item_invoked`](#function-item_invoked)
- [`display_mode_changed`](#function-display_mode_changed)
- [`back_requested`](#function-back_requested)
- [`pane_closing`](#function-pane_closing)
- [`expanding`](#function-expanding)
- [`collapsed`](#function-collapsed)
- [`pane_opening`](#function-pane_opening)
- [`pane_opened`](#function-pane_opened)
- [`pane_closed`](#function-pane_closed)
- [`container_from_menu_item`](#function-container_from_menu_item)
- [`menu_item_from_container`](#function-menu_item_from_container)
- [`expand`](#function-expand)
- [`collapse`](#function-collapse)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L202)

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

### to_ref

```rust
fn to_ref(self: &Self) -> $crate::Ref<NavigationView>
```

Returns a strong reference to this object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L202)

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

### is_pane_open_property

```rust
fn is_pane_open_property() -> &'static StyledProperty<bool>
```

Defines the `IsPaneOpen` property: whether the pane is open. `true` by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### compact_mode_threshold_width_property

```rust
fn compact_mode_threshold_width_property() -> &'static StyledProperty<f64>
```

Defines the `CompactModeThresholdWidth` property: the width from which the display mode of
`Auto` is `Compact`. 641 by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### expanded_mode_threshold_width_property

```rust
fn expanded_mode_threshold_width_property() -> &'static StyledProperty<f64>
```

Defines the `ExpandedModeThresholdWidth` property: the width from which the display mode of
`Auto` is `Expanded`. 1008 by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### is_settings_visible_property

```rust
fn is_settings_visible_property() -> &'static StyledProperty<bool>
```

Defines the `IsSettingsVisible` property: whether the settings item is shown. `true` by
default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### is_pane_toggle_button_visible_property

```rust
fn is_pane_toggle_button_visible_property() -> &'static StyledProperty<bool>
```

Defines the `IsPaneToggleButtonVisible` property. `true` by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### always_show_header_property

```rust
fn always_show_header_property() -> &'static StyledProperty<bool>
```

Defines the `AlwaysShowHeader` property. `true` by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### compact_pane_length_property

```rust
fn compact_pane_length_property() -> &'static StyledProperty<f64>
```

Defines the `CompactPaneLength` property: the width of the closed compact pane. 48 by
default; the WinUI theme sets `NavigationViewCompactPaneLength`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### open_pane_length_property

```rust
fn open_pane_length_property() -> &'static StyledProperty<f64>
```

Defines the `OpenPaneLength` property: the width of the open pane. 320 by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### is_pane_visible_property

```rust
fn is_pane_visible_property() -> &'static StyledProperty<bool>
```

Defines the `IsPaneVisible` property: whether the pane is shown at all. `true` by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### is_back_enabled_property

```rust
fn is_back_enabled_property() -> &'static StyledProperty<bool>
```

Defines the `IsBackEnabled` property: whether the back button is enabled.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### is_back_button_visible_property

```rust
fn is_back_button_visible_property() -> &'static StyledProperty<NavigationViewBackButtonVisible>
```

Defines the `IsBackButtonVisible` property. `Auto` by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### pane_display_mode_property

```rust
fn pane_display_mode_property() -> &'static StyledProperty<NavigationViewPaneDisplayMode>
```

Defines the `PaneDisplayMode` property. `Auto` by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### selection_follows_focus_property

```rust
fn selection_follows_focus_property() -> &'static StyledProperty<NavigationViewSelectionFollowsFocus>
```

Defines the `SelectionFollowsFocus` property. `Disabled` by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### pane_title_property

```rust
fn pane_title_property() -> &'static StyledProperty<String>
```

Defines the `PaneTitle` property: the title of the pane.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### header_property

```rust
fn header_property() -> &'static StyledProperty<Option<BoxedValue>>
```

Defines the `Header` property: the header above the content.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### header_template_property

```rust
fn header_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
```

Defines the `HeaderTemplate` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### selected_item_property

```rust
fn selected_item_property() -> &'static StyledProperty<Option<BoxedValue>>
```

Defines the `SelectedItem` property: the selected menu item (the data item or the
container).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### pane_header_property

```rust
fn pane_header_property() -> &'static StyledProperty<Option<Ref<Control>>>
```

Defines the `PaneHeader` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### pane_footer_property

```rust
fn pane_footer_property() -> &'static StyledProperty<Option<Ref<Control>>>
```

Defines the `PaneFooter` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### pane_custom_content_property

```rust
fn pane_custom_content_property() -> &'static StyledProperty<Option<Ref<Control>>>
```

Defines the `PaneCustomContent` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### content_overlay_property

```rust
fn content_overlay_property() -> &'static StyledProperty<Option<Ref<Control>>>
```

Defines the `ContentOverlay` property: content shown under the top pane.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### auto_suggest_box_property

```rust
fn auto_suggest_box_property() -> &'static StyledProperty<Option<Ref<AutoSuggestBox>>>
```

Defines the `AutoSuggestBox` property: the search box of the pane.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### menu_items_source_property

```rust
fn menu_items_source_property() -> &'static StyledProperty<Option<ItemsSource>>
```

Defines the `MenuItemsSource` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### footer_menu_items_source_property

```rust
fn footer_menu_items_source_property() -> &'static StyledProperty<Option<ItemsSource>>
```

Defines the `FooterMenuItemsSource` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### menu_item_template_property

```rust
fn menu_item_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
```

Defines the `MenuItemTemplate` property: the template of the data items.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### pane_toggle_button_style_property

```rust
fn pane_toggle_button_style_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
```

Defines the `PaneToggleButtonStyle` property: the control theme of the pane toggle button
(WinUI's style; the WinUI theme sets `PaneToggleButtonStyle`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### menu_item_container_style_property

```rust
fn menu_item_container_style_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
```

Defines the `MenuItemContainerStyle` property: the control theme of the containers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### menu_items_property

```rust
fn menu_items_property() -> &'static DirectProperty<NavigationView, ItemCollection>
```

Defines the `MenuItems` property (read-only; the collection is writable).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### footer_menu_items_property

```rust
fn footer_menu_items_property() -> &'static DirectProperty<NavigationView, ItemCollection>
```

Defines the `FooterMenuItems` property (read-only; the collection is writable).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### settings_item_property

```rust
fn settings_item_property() -> &'static DirectProperty<NavigationView, Option<BoxedValue>>
```

Defines the `SettingsItem` property: the settings item (read-only).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### display_mode_property

```rust
fn display_mode_property() -> &'static DirectProperty<NavigationView, NavigationViewDisplayMode>
```

Defines the `DisplayMode` property: the display mode (read-only).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### template_settings_property

```rust
fn template_settings_property() -> &'static DirectProperty<NavigationView, Ref<NavigationViewTemplateSettings>>
```

Defines the `TemplateSettings` property: the values the template binds to (read-only).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L312)

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

### construct

```rust
fn construct() -> Self
```

Creates the class data; see `ferroui_base::FerroObject::construct`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L451)

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

### new

```rust
fn new() -> Ref<Self>
```

Creates a navigation view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L507)

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

### menu_items

```rust
fn menu_items(self: &Self) -> ItemCollection
```

Gets the menu items (writable, also while `MenuItemsSource` is set).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L512)

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

### footer_menu_items

```rust
fn footer_menu_items(self: &Self) -> ItemCollection
```

Gets the footer menu items (writable, also while `FooterMenuItemsSource` is set).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L517)

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

### settings_item

```rust
fn settings_item(self: &Self) -> Ref<NavigationViewItem>
```

Gets the settings item.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L522)

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

### template_settings

```rust
fn template_settings(self: &Self) -> Ref<NavigationViewTemplateSettings>
```

Gets the values the template binds to.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L527)

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

### display_mode

```rust
fn display_mode(self: &Self) -> NavigationViewDisplayMode
```

Gets the display mode.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L532)

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

### is_pane_open

```rust
fn is_pane_open(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L536)

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

### set_is_pane_open

```rust
fn set_is_pane_open(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L539)

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

### compact_mode_threshold_width

```rust
fn compact_mode_threshold_width(self: &Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L542)

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

### set_compact_mode_threshold_width

```rust
fn set_compact_mode_threshold_width(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L545)

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

### expanded_mode_threshold_width

```rust
fn expanded_mode_threshold_width(self: &Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L548)

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

### set_expanded_mode_threshold_width

```rust
fn set_expanded_mode_threshold_width(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L551)

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

### is_settings_visible

```rust
fn is_settings_visible(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L554)

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

### set_is_settings_visible

```rust
fn set_is_settings_visible(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L557)

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

### is_pane_toggle_button_visible

```rust
fn is_pane_toggle_button_visible(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L560)

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

### set_is_pane_toggle_button_visible

```rust
fn set_is_pane_toggle_button_visible(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L563)

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

### always_show_header

```rust
fn always_show_header(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L566)

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

### set_always_show_header

```rust
fn set_always_show_header(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L569)

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

### compact_pane_length

```rust
fn compact_pane_length(self: &Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L572)

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

### set_compact_pane_length

```rust
fn set_compact_pane_length(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L575)

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

### open_pane_length

```rust
fn open_pane_length(self: &Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L578)

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

### set_open_pane_length

```rust
fn set_open_pane_length(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L581)

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

### is_pane_visible

```rust
fn is_pane_visible(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L584)

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

### set_is_pane_visible

```rust
fn set_is_pane_visible(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L587)

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

### is_back_enabled

```rust
fn is_back_enabled(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L590)

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

### set_is_back_enabled

```rust
fn set_is_back_enabled(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L593)

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

### is_back_button_visible

```rust
fn is_back_button_visible(self: &Self) -> NavigationViewBackButtonVisible
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L596)

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

### set_is_back_button_visible

```rust
fn set_is_back_button_visible(self: &Self, value: NavigationViewBackButtonVisible)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L599)

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

### pane_display_mode

```rust
fn pane_display_mode(self: &Self) -> NavigationViewPaneDisplayMode
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L602)

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

### set_pane_display_mode

```rust
fn set_pane_display_mode(self: &Self, value: NavigationViewPaneDisplayMode)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L605)

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

### selection_follows_focus

```rust
fn selection_follows_focus(self: &Self) -> NavigationViewSelectionFollowsFocus
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L608)

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

### set_selection_follows_focus

```rust
fn set_selection_follows_focus(self: &Self, value: NavigationViewSelectionFollowsFocus)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L611)

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

### pane_title

```rust
fn pane_title(self: &Self) -> String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L614)

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

### set_pane_title

```rust
fn set_pane_title(self: &Self, value: String)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L617)

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

### header

```rust
fn header(self: &Self) -> Option<BoxedValue>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L620)

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

### set_header

```rust
fn set_header(self: &Self, value: Option<BoxedValue>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L623)

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

### header_template

```rust
fn header_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L626)

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

### set_header_template

```rust
fn set_header_template(self: &Self, value: Option<Rc<dyn IDataTemplate>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L629)

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

### selected_item

```rust
fn selected_item(self: &Self) -> Option<BoxedValue>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L632)

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

### set_selected_item

```rust
fn set_selected_item(self: &Self, value: Option<BoxedValue>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L635)

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

### pane_header

```rust
fn pane_header(self: &Self) -> Option<Ref<Control>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L638)

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

### set_pane_header

```rust
fn set_pane_header(self: &Self, value: Option<Ref<Control>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L641)

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

### pane_footer

```rust
fn pane_footer(self: &Self) -> Option<Ref<Control>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L644)

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

### set_pane_footer

```rust
fn set_pane_footer(self: &Self, value: Option<Ref<Control>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L647)

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

### pane_custom_content

```rust
fn pane_custom_content(self: &Self) -> Option<Ref<Control>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L650)

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

### set_pane_custom_content

```rust
fn set_pane_custom_content(self: &Self, value: Option<Ref<Control>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L653)

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

### content_overlay

```rust
fn content_overlay(self: &Self) -> Option<Ref<Control>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L656)

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

### set_content_overlay

```rust
fn set_content_overlay(self: &Self, value: Option<Ref<Control>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L659)

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

### auto_suggest_box

```rust
fn auto_suggest_box(self: &Self) -> Option<Ref<AutoSuggestBox>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L662)

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

### set_auto_suggest_box

```rust
fn set_auto_suggest_box(self: &Self, value: Option<Ref<AutoSuggestBox>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L665)

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

### menu_items_source

```rust
fn menu_items_source(self: &Self) -> Option<ItemsSource>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L668)

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

### set_menu_items_source

```rust
fn set_menu_items_source(self: &Self, value: Option<ItemsSource>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L671)

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

### footer_menu_items_source

```rust
fn footer_menu_items_source(self: &Self) -> Option<ItemsSource>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L674)

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

### set_footer_menu_items_source

```rust
fn set_footer_menu_items_source(self: &Self, value: Option<ItemsSource>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L677)

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

### menu_item_template

```rust
fn menu_item_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L680)

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

### set_menu_item_template

```rust
fn set_menu_item_template(self: &Self, value: Option<Rc<dyn IDataTemplate>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L683)

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

### pane_toggle_button_style

```rust
fn pane_toggle_button_style(self: &Self) -> Option<Ref<ControlTheme>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L686)

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

### set_pane_toggle_button_style

```rust
fn set_pane_toggle_button_style(self: &Self, value: Option<Ref<ControlTheme>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L689)

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

### menu_item_container_style

```rust
fn menu_item_container_style(self: &Self) -> Option<Ref<ControlTheme>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L692)

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

### set_menu_item_container_style

```rust
fn set_menu_item_container_style(self: &Self, value: Option<Ref<ControlTheme>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L695)

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

### selection_changed

```rust
fn selection_changed(self: &Self, handler: impl Fn(&NavigationViewSelectionChangedEventArgs) -> () + 'static) -> Subscription
```

Adds a handler of `SelectionChanged`. Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L701)

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

### item_invoked

```rust
fn item_invoked(self: &Self, handler: impl Fn(&NavigationViewItemInvokedEventArgs) -> () + 'static) -> Subscription
```

Adds a handler of `ItemInvoked`. Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L712)

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

### display_mode_changed

```rust
fn display_mode_changed(self: &Self, handler: impl Fn(&NavigationViewDisplayModeChangedEventArgs) -> () + 'static) -> Subscription
```

Adds a handler of `DisplayModeChanged`. Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L723)

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

### back_requested

```rust
fn back_requested(self: &Self, handler: impl Fn(&NavigationViewBackRequestedEventArgs) -> () + 'static) -> Subscription
```

Adds a handler of `BackRequested`. Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L734)

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

### pane_closing

```rust
fn pane_closing(self: &Self, handler: impl Fn(&NavigationViewPaneClosingEventArgs) -> () + 'static) -> Subscription
```

Adds a handler of `PaneClosing`. Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L745)

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

### expanding

```rust
fn expanding(self: &Self, handler: impl Fn(&NavigationViewItemExpandingEventArgs) -> () + 'static) -> Subscription
```

Adds a handler of `Expanding`. Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L756)

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

### collapsed

```rust
fn collapsed(self: &Self, handler: impl Fn(&NavigationViewItemCollapsedEventArgs) -> () + 'static) -> Subscription
```

Adds a handler of `Collapsed`. Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L767)

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

### pane_opening

```rust
fn pane_opening(self: &Self, handler: impl Fn() -> () + 'static) -> Subscription
```

Adds a handler of `PaneOpening`. Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L778)

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

### pane_opened

```rust
fn pane_opened(self: &Self, handler: impl Fn() -> () + 'static) -> Subscription
```

Adds a handler of `PaneOpened`. Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L789)

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

### pane_closed

```rust
fn pane_closed(self: &Self, handler: impl Fn() -> () + 'static) -> Subscription
```

Adds a handler of `PaneClosed`. Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L800)

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

### container_from_menu_item

```rust
fn container_from_menu_item(self: &Self, item: &Option<BoxedValue>) -> Option<Ref<NavigationViewItemBase>>
```

Gets the realized container of a menu item, a footer item or a nested item
(`ContainerFromMenuItem`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L1946)

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

### menu_item_from_container

```rust
fn menu_item_from_container(self: &Self, container: &FerroObject) -> Option<BoxedValue>
```

Gets the menu item of a container (`MenuItemFromContainer`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L1957)

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

### expand

```rust
fn expand(self: &Self, item: &NavigationViewItem)
```

Expands an item that has children (`Expand`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L1962)

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

### collapse

```rust
fn collapse(self: &Self, item: &NavigationViewItem)
```

Collapses an item that has children (`Collapse`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/navigation_view.rs#L1969)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`TemplatedControlImplExt`](/docs/0.5.0/api/ferroui-controls/primitives/trait-templatedcontrolimplext/)
- [`ContentControlImplExt`](/docs/0.5.0/api/ferroui-controls/trait-contentcontrolimplext/)
- [`ControlImplExt`](/docs/0.5.0/api/ferroui-controls/trait-controlimplext/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- [`InputElementImplExt`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimplext/)
- [`InteractiveImplExt`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimplext/)
- [`LayoutableImplExt`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimplext/)
- [`FerroObjectImplExt`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimplext/)
- [`StyledElementImplExt`](/docs/0.5.0/api/ferroui-base/trait-styledelementimplext/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- [`VisualImplExt`](/docs/0.5.0/api/ferroui-base/trait-visualimplext/)
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<NavigationView>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)
- [`ObjectType`](/docs/0.5.0/api/ferroui-base/trait-objecttype/)
- [`Subclassable<T>`](/docs/0.5.0/api/ferroui-base/trait-subclassable/)
- [`DefaultConstructible`](/docs/0.5.0/api/ferroui-base/trait-defaultconstructible/)
- [`StyledElementImpl`](/docs/0.5.0/api/ferroui-base/trait-styledelementimpl/)
- [`InteractiveImpl`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimpl/)
- [`ContentControlImpl`](/docs/0.5.0/api/ferroui-controls/trait-contentcontrolimpl/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)
- [`ControlImpl`](/docs/0.5.0/api/ferroui-controls/trait-controlimpl/)
- [`LayoutableImpl`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimpl/)
- [`InputElementImpl`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimpl/)
- [`TemplatedControlImpl`](/docs/0.5.0/api/ferroui-controls/primitives/trait-templatedcontrolimpl/)
- `Drop`
- [`VisualImpl`](/docs/0.5.0/api/ferroui-base/trait-visualimpl/)

## Availability

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