# NumericUpDownImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/numeric_up_down/trait-numericupdownimpl/

**trait** · [`ferroui-controls`](/docs/0.5.0/api/ferroui-controls/) · v0.5.0

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

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

## Members

- [`on_number_format_changed`](#function-on_number_format_changed)
- [`on_format_string_changed`](#function-on_format_string_changed)
- [`on_increment_changed`](#function-on_increment_changed)
- [`on_is_read_only_changed`](#function-on_is_read_only_changed)
- [`on_maximum_changed`](#function-on_maximum_changed)
- [`on_minimum_changed`](#function-on_minimum_changed)
- [`on_text_changed`](#function-on_text_changed)
- [`on_text_converter_changed`](#function-on_text_converter_changed)
- [`on_value_changed`](#function-on_value_changed)
- [`on_coerce_increment`](#function-on_coerce_increment)
- [`on_coerce_maximum`](#function-on_coerce_maximum)
- [`on_coerce_minimum`](#function-on_coerce_minimum)
- [`on_coerce_value`](#function-on_coerce_value)
- [`on_spin`](#function-on_spin)
- [`raise_value_changed_event`](#function-raise_value_changed_event)

<a id="function-on_number_format_changed"></a>

### on_number_format_changed

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_format_string_changed"></a>

### on_format_string_changed

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

Called when the `FormatString` property value changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_increment_changed"></a>

### on_increment_changed

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

Called when the `Increment` property value changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_is_read_only_changed"></a>

### on_is_read_only_changed

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

Called when the `IsReadOnly` property value changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_maximum_changed"></a>

### on_maximum_changed

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

Called when the `Maximum` property value changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_minimum_changed"></a>

### on_minimum_changed

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

Called when the `Minimum` property value changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_text_changed"></a>

### on_text_changed

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

Called when the `Text` property value changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_text_converter_changed"></a>

### on_text_converter_changed

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_value_changed"></a>

### on_value_changed

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

Called when the `Value` property value changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_coerce_increment"></a>

### on_coerce_increment

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

Called when the `Increment` property has to be coerced.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_coerce_maximum"></a>

### on_coerce_maximum

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

Called when the `Maximum` property has to be coerced.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_coerce_minimum"></a>

### on_coerce_minimum

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

Called when the `Minimum` property has to be coerced.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_coerce_value"></a>

### on_coerce_value

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

Called when the `Value` property has to be coerced.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-on_spin"></a>

### on_spin

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

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

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

<a id="function-raise_value_changed_event"></a>

### raise_value_changed_event

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

Raises the `ValueChanged` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/numeric_up_down/numeric_up_down.rs#L72)

## Trait implementations

- [`NumericUpDownImpl`](/docs/0.5.0/api/ferroui-controls/numeric_up_down/trait-numericupdownimpl/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
