Crash: the object with null value must have a value
reproduction:
select the ":" in the DateTimeUpDown. Then scroll with your mouse wheel.
Fix:
I fastly fixed it by adding in Method private void Increment( int step ) of DateTimeUpDown.cs:
I put a:
```
if (newValue != null)
{
...
}
```
around
```
this.TextBox.Text = newValue.Value.ToString(this.GetFormatString(this.Format), this.CultureInfo);
```
Because newValue is null at this place, because UpdateDateTime will not increment, because the double point it's not a real date value.
Comments: ** Comment from web user: BoucherS **
reproduction:
select the ":" in the DateTimeUpDown. Then scroll with your mouse wheel.
Fix:
I fastly fixed it by adding in Method private void Increment( int step ) of DateTimeUpDown.cs:
I put a:
```
if (newValue != null)
{
...
}
```
around
```
this.TextBox.Text = newValue.Value.ToString(this.GetFormatString(this.Format), this.CultureInfo);
```
Because newValue is null at this place, because UpdateDateTime will not increment, because the double point it's not a real date value.
Comments: ** Comment from web user: BoucherS **
Hi,
This crash does not happen in v3.2 and up.
――――
_Get more controls, features, updates and technical support with [Xceed Toolkit Plus for WPF](https://wpftoolkit.codeplex.com/wikipage?title=Compare%20Editions)_