FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ToggleButtonProps

    trait · ferroui-view · v0.5.0

    trait ToggleButtonProps: ElementBuilder
    

    The properties and routed events of ToggleButton.

    View source

    Members

    is_checked

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

    Sets ToggleButton::is_checked_property.

    Source

    is_three_state

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

    Sets ToggleButton::is_three_state_property.

    Source

    on_is_checked_changed

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

    Handles ToggleButton::is_checked_changed_event.

    Source

    Trait implementations

    Availability

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