FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EventTriggerBaseImpl

    trait · ferroui-xaml-interactivity · v0.5.0

    trait EventTriggerBaseImpl: StyledElementBehaviorImpl + $crate::Upcast<EventTriggerBase>
    

    The overridable members introduced by the class.

    View source

    Members

    attached_to_visual_tree

    fn attached_to_visual_tree(this: &Self, sender: Option<&BoxedValue>, event_args: &BoxedValue)
    

    Raised when the event fires (by its name in the reference, the handler of the default event AttachedToVisualTree).

    Source

    on_event

    fn on_event(this: &Self, event_args: Option<&BoxedValue>)
    

    Executes the actions associated with this behavior.

    Source

    Trait implementations

    Availability

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