FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PropertyChangedTrigger

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct PropertyChangedTrigger
    

    Represents a trigger that performs actions when the bound data have changed.

    The actions run in a job of the dispatcher after each change of binding, with the change as their parameter.

    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<PropertyChangedTrigger>
    

    Returns a strong reference to this object.

    Source

    binding_property

    fn binding_property() -> &'static StyledProperty<Option<BoxedValue>>
    

    Identifies the Binding property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a trigger.

    Source

    binding

    fn binding(self: &Self) -> Option<BoxedValue>
    

    Gets or sets a binding object that the trigger will listen to. This is a property of the object model.

    Source

    set_binding

    fn set_binding(self: &Self, value: Option<BoxedValue>)
    

    Source

    Trait implementations

    Availability

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