FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    OwnedFerroPropertyChangedEventArgs

    struct · ferroui-base · v0.5.0

    struct OwnedFerroPropertyChangedEventArgs
    

    A property change held by value (FerroPropertyChangedEventArgs::to_owned_args): the object, the property and copies of the values in their untyped form.

    This is what the handler of the PropertyChanged event of an object receives when it is attached from markup.

    View source

    Members

    sender

    fn sender(self: &Self) -> Ref<FerroObject>
    

    The object that the property changed on.

    Source

    property

    fn property(self: &Self) -> &'static FerroProperty
    

    The property that changed.

    Source

    old_value

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

    The old value of the property. Null when only the base value changed.

    Source

    new_value

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

    The new value of the property.

    Source

    priority

    fn priority(self: &Self) -> BindingPriority
    

    The priority of the binding that produced the value.

    Source

    is_effective_value_change

    fn is_effective_value_change(self: &Self) -> bool
    

    Whether the change represents a change to the effective value of the property (as opposed to a change of a lower-priority base value).

    Source

    is_inherited_value_change

    fn is_inherited_value_change(self: &Self) -> bool
    

    Whether an ancestor or inheritance-parent change produced this notification.

    Source

    Trait implementations

    Availability

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