FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NavigationViewItemProps

    trait · ferroui-view · v0.5.0

    trait NavigationViewItemProps: ElementBuilder
    

    The properties and routed events of NavigationViewItem.

    View source

    Members

    icon

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

    Sets NavigationViewItem::icon_property.

    Source

    info_badge

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

    Sets NavigationViewItem::info_badge_property.

    Source

    selects_on_invoked

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

    Sets NavigationViewItem::selects_on_invoked_property.

    Source

    is_expanded

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

    Sets NavigationViewItem::is_expanded_property.

    Source

    has_unrealized_children

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

    Sets NavigationViewItem::has_unrealized_children_property.

    Source

    is_child_selected

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

    Sets NavigationViewItem::is_child_selected_property.

    Source

    menu_items_source

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

    Sets NavigationViewItem::menu_items_source_property.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.