FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeViewItemProps

    trait · ferroui-view · v0.5.0

    trait TreeViewItemProps: ElementBuilder
    

    The properties and routed events of TreeViewItem.

    View source

    Members

    is_expanded

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

    Sets TreeViewItem::is_expanded_property.

    Source

    is_selected

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

    Sets TreeViewItem::is_selected_property.

    Source

    on_expanded

    fn on_expanded(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles TreeViewItem::expanded_event.

    Source

    on_collapsed

    fn on_collapsed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles TreeViewItem::collapsed_event.

    Source

    Trait implementations

    Availability

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