FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NumericUpDownImpl

    trait · ferroui-controls · v0.5.0

    trait NumericUpDownImpl: TemplatedControlImpl + $crate::Upcast<NumericUpDown>
    

    The overridable members introduced by the class.

    View source

    Members

    on_number_format_changed

    fn on_number_format_changed(this: &Self, old_value: Option<Rc<NumberFormatInfo>>, new_value: Option<Rc<NumberFormatInfo>>)
    

    Called when the NumberFormat property value changed.

    Source

    on_format_string_changed

    fn on_format_string_changed(this: &Self, old_value: &str, new_value: &str)
    

    Called when the FormatString property value changed.

    Source

    on_increment_changed

    fn on_increment_changed(this: &Self, old_value: Decimal, new_value: Decimal)
    

    Called when the Increment property value changed.

    Source

    on_is_read_only_changed

    fn on_is_read_only_changed(this: &Self, old_value: bool, new_value: bool)
    

    Called when the IsReadOnly property value changed.

    Source

    on_maximum_changed

    fn on_maximum_changed(this: &Self, old_value: Decimal, new_value: Decimal)
    

    Called when the Maximum property value changed.

    Source

    on_minimum_changed

    fn on_minimum_changed(this: &Self, old_value: Decimal, new_value: Decimal)
    

    Called when the Minimum property value changed.

    Source

    on_text_changed

    fn on_text_changed(this: &Self, old_value: Option<&str>, new_value: Option<&str>)
    

    Called when the Text property value changed.

    Source

    on_text_converter_changed

    fn on_text_converter_changed(this: &Self, old_value: Option<Rc<dyn IValueConverter>>, new_value: Option<Rc<dyn IValueConverter>>)
    

    Called when the TextConverter property value changed.

    Source

    on_value_changed

    fn on_value_changed(this: &Self, old_value: Option<Decimal>, new_value: Option<Decimal>)
    

    Called when the Value property value changed.

    Source

    on_coerce_increment

    fn on_coerce_increment(this: &Self, base_value: Decimal) -> Decimal
    

    Called when the Increment property has to be coerced.

    Source

    on_coerce_maximum

    fn on_coerce_maximum(this: &Self, base_value: Decimal) -> Decimal
    

    Called when the Maximum property has to be coerced.

    Source

    on_coerce_minimum

    fn on_coerce_minimum(this: &Self, base_value: Decimal) -> Decimal
    

    Called when the Minimum property has to be coerced.

    Source

    on_coerce_value

    fn on_coerce_value(this: &Self, base_value: Option<Decimal>) -> Option<Decimal>
    

    Called when the Value property has to be coerced.

    Source

    on_spin

    fn on_spin(this: &Self, e: &SpinEventArgs)
    

    Raises the Spinned event when spinning is initiated by the end-user.

    Source

    raise_value_changed_event

    fn raise_value_changed_event(this: &Self, old_value: Option<Decimal>, new_value: Option<Decimal>)
    

    Raises the ValueChanged event.

    Source

    Trait implementations

    Availability

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