SetViewModelPropertyAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct SetViewModelPropertyAction
Sets a view model property to a specified value when invoked.
Members
TYPEto_refproperty_name_propertyvalue_propertyconstructnewproperty_nameset_property_namevalueset_action_value
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<SetViewModelPropertyAction>
Returns a strong reference to this object.
property_name_property
fn property_name_property() -> &'static StyledProperty<Option<String>>
Identifies the PropertyName property.
value_property
fn value_property() -> &'static StyledProperty<Option<BoxedValue>>
Identifies the Value property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
property_name
fn property_name(self: &Self) -> Option<String>
Gets or sets the name of the property to change. This is a property of the object model.
set_property_name
fn set_property_name(self: &Self, value: Option<String>)
value
fn value(self: &Self) -> Option<BoxedValue>
Gets or sets the value to assign. This is a property of the object model.
set_action_value
fn set_action_value(self: &Self, value: Option<BoxedValue>)
Sets the value to assign (named apart from the setter of every property of the object).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<SetViewModelPropertyAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.