FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ExpanderProps

    trait · ferroui-view · v0.5.0

    trait ExpanderProps: ElementBuilder
    

    The properties and routed events of Expander.

    View source

    Members

    content_transition

    fn content_transition<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IPageTransition>>, M>) -> Self
    

    Sets Expander::content_transition_property.

    Source

    expand_direction

    fn expand_direction<M>(self: Self, value: impl IntoProp<ferroui_controls::ExpandDirection, M>) -> Self
    

    Sets Expander::expand_direction_property.

    Source

    is_expanded

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

    Sets Expander::is_expanded_property.

    Source

    on_collapsed

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

    Handles Expander::collapsed_event.

    Source

    on_expanded

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

    Handles Expander::expanded_event.

    Source

    Trait implementations

    Availability

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