ValueChangedTriggerBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ValueChangedTriggerBehavior
A behavior that performs actions when the bound data produces new value.
The actions run in a job of the dispatcher after each change of binding
to a value that is not null, 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<ValueChangedTriggerBehavior>
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 the bound object that the ValueChangedTriggerBehavior 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<ValueChangedTriggerBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplStyledElementBehaviorImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.