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.
Members
sender
fn sender(self: &Self) -> Ref<FerroObject>
The object that the property changed on.
property
fn property(self: &Self) -> &'static FerroProperty
The property that changed.
old_value
fn old_value(self: &Self) -> Option<BoxedValue>
The old value of the property. Null when only the base value changed.
new_value
fn new_value(self: &Self) -> Option<BoxedValue>
The new value of the property.
priority
fn priority(self: &Self) -> BindingPriority
The priority of the binding that produced the value.
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).
is_inherited_value_change
fn is_inherited_value_change(self: &Self) -> bool
Whether an ancestor or inheritance-parent change produced this notification.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherClonePartialEqMarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.