You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it works as expected. The entering of a decimal point is prohibited.
After reading some code I think I found the line that leads to the described case: nud.HasDecimals = !RegexStringFormatHexadecimal.IsMatch((string)e.NewValue); in NumericUpDown.cs, OnStringFormatChanged
That could explain why the HasDecimals property is only changed if I use a Binding.