ViewModelPropertyChangedTrigger
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ViewModelPropertyChangedTrigger
Triggers when the specified view model property changes.
Deviation (DEVIATIONS.md, Behaviors): the parameter of the actions is the name of the changed
property (the PropertyChangedEventArgs of the reference carry only that name), and the view
model is observed when its model type declares its property change notifications.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ViewModelPropertyChangedTrigger>
Returns a strong reference to this object.
property_name_property
fn property_name_property() -> &'static StyledProperty<Option<String>>
Identifies the PropertyName property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
property_name
fn property_name(self: &Self) -> Option<String>
Gets or sets the name of the property to monitor. This is a property of the object model.
set_property_name
fn set_property_name(self: &Self, value: Option<String>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ViewModelPropertyChangedTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.