FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    StyledElementActionImpl

    trait · ferroui-xaml-interactivity · v0.5.0

    trait StyledElementActionImpl: StyledElementImpl + $crate::Upcast<StyledElementAction>
    

    The overridable members introduced by the class.

    View source

    Members

    execute

    fn execute(this: &Self, sender: Option<&BoxedValue>, parameter: Option<&BoxedValue>) -> Option<BoxedValue>
    

    Executes the action.

    sender is the object that is passed to the action by the behavior. Generally this is the associated object of the behavior or a target object. The value of parameter is determined by the caller. An example of parameter usage is EventTriggerBehavior, which passes the event args as a parameter to its actions.

    Returns the result of the action.

    Source

    Trait implementations

    Availability

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