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.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PropertyChangedTrigger>
Returns a strong reference to this object.
binding_property
fn binding_property() -> &'static StyledProperty<Option<BoxedValue>>
Identifies the Binding property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
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.
set_binding
fn set_binding(self: &Self, value: Option<BoxedValue>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<PropertyChangedTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplStyledElementBehaviorImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.