FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SetViewModelPropertyOnLoadBehavior

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct SetViewModelPropertyOnLoadBehavior
    

    Sets a view model property when the associated control is loaded.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<SetViewModelPropertyOnLoadBehavior>
    

    Returns a strong reference to this object.

    Source

    property_name_property

    fn property_name_property() -> &'static StyledProperty<Option<String>>
    

    Identifies the PropertyName property.

    Source

    value_property

    fn value_property() -> &'static StyledProperty<Option<BoxedValue>>
    

    Identifies the Value property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a behavior.

    Source

    property_name

    fn property_name(self: &Self) -> Option<String>
    

    Gets or sets the property name to change. This is a property of the object model.

    Source

    set_property_name

    fn set_property_name(self: &Self, value: Option<String>)
    

    Source

    value

    fn value(self: &Self) -> Option<BoxedValue>
    

    Gets or sets the value to assign. This is a property of the object model.

    Source

    set_behavior_value

    fn set_behavior_value(self: &Self, value: Option<BoxedValue>)
    

    Sets the value to assign (named apart from the setter of every property of the object).

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.