FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Trigger

    struct · ferroui-xaml-interactivity · v0.5.0

    struct Trigger
    

    A base class for behaviors, implementing the basic plumbing of ITrigger.

    The class is abstract. Its content (markup's children of a trigger) is its actions.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<Trigger>
    

    Returns a strong reference to this object.

    Source

    actions_property

    fn actions_property() -> &'static DirectProperty<Trigger, ActionCollection>
    

    Identifies the Actions property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see FerroObject::construct.

    Source

    actions

    fn actions(self: &Self) -> ActionCollection
    

    Gets the collection of actions associated with the behavior. This is a property of the object model.

    Source

    Trait implementations

    Availability

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