FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IncrementViewModelPropertyAction

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

    struct IncrementViewModelPropertyAction
    

    Increments a numeric view model property when invoked.

    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<IncrementViewModelPropertyAction>
    

    Returns a strong reference to this object.

    Source

    property_name_property

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

    Identifies the PropertyName property.

    Source

    delta_property

    fn delta_property() -> &'static StyledProperty<f64>
    

    Identifies the Delta property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates an action.

    Source

    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.

    Source

    set_property_name

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

    Source

    delta

    fn delta(self: &Self) -> f64
    

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

    Source

    set_delta

    fn set_delta(self: &Self, value: f64)
    

    Source

    Trait implementations

    Availability

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