FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ToggleButtonImpl

    trait · ferroui-controls · v0.5.0

    trait ToggleButtonImpl: ButtonImpl + $crate::Upcast<ToggleButton>
    

    The overridable members introduced by the class.

    View source

    Members

    toggle

    fn toggle(this: &Self)
    

    Toggles the IsChecked property.

    Source

    on_is_checked_changed

    fn on_is_checked_changed(this: &Self, e: &RoutedEventArgs)
    

    Called when IsChecked changes. e are the event arguments for the routed event that is raised by the default implementation of this method.

    Source

    Trait implementations

    Availability

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