NumericUpDownImpl
trait · ferroui-controls · v0.5.0
trait NumericUpDownImpl: TemplatedControlImpl + $crate::Upcast<NumericUpDown>
The overridable members introduced by the class.
Members
on_number_format_changedon_format_string_changedon_increment_changedon_is_read_only_changedon_maximum_changedon_minimum_changedon_text_changedon_text_converter_changedon_value_changedon_coerce_incrementon_coerce_maximumon_coerce_minimumon_coerce_valueon_spinraise_value_changed_event
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.
on_format_string_changed
fn on_format_string_changed(this: &Self, old_value: &str, new_value: &str)
Called when the FormatString property value changed.
on_increment_changed
fn on_increment_changed(this: &Self, old_value: Decimal, new_value: Decimal)
Called when the Increment property value changed.
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.
on_maximum_changed
fn on_maximum_changed(this: &Self, old_value: Decimal, new_value: Decimal)
Called when the Maximum property value changed.
on_minimum_changed
fn on_minimum_changed(this: &Self, old_value: Decimal, new_value: Decimal)
Called when the Minimum property value changed.
on_text_changed
fn on_text_changed(this: &Self, old_value: Option<&str>, new_value: Option<&str>)
Called when the Text property value changed.
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.
on_value_changed
fn on_value_changed(this: &Self, old_value: Option<Decimal>, new_value: Option<Decimal>)
Called when the Value property value changed.
on_coerce_increment
fn on_coerce_increment(this: &Self, base_value: Decimal) -> Decimal
Called when the Increment property has to be coerced.
on_coerce_maximum
fn on_coerce_maximum(this: &Self, base_value: Decimal) -> Decimal
Called when the Maximum property has to be coerced.
on_coerce_minimum
fn on_coerce_minimum(this: &Self, base_value: Decimal) -> Decimal
Called when the Minimum property has to be coerced.
on_coerce_value
fn on_coerce_value(this: &Self, base_value: Option<Decimal>) -> Option<Decimal>
Called when the Value property has to be coerced.
on_spin
fn on_spin(this: &Self, e: &SpinEventArgs)
Raises the Spinned event when spinning is initiated by the
end-user.
raise_value_changed_event
fn raise_value_changed_event(this: &Self, old_value: Option<Decimal>, new_value: Option<Decimal>)
Raises the ValueChanged event.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.