TreeViewItemProps
trait · ferroui-view · v0.5.0
trait TreeViewItemProps: ElementBuilder
The properties and routed events of TreeViewItem.
Members
is_expanded
fn is_expanded<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets TreeViewItem::is_expanded_property.
is_selected
fn is_selected<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets TreeViewItem::is_selected_property.
on_expanded
fn on_expanded(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles TreeViewItem::expanded_event.
on_collapsed
fn on_collapsed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles TreeViewItem::collapsed_event.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.