WpfExtendedToolkit
WpfExtendedToolkit copied to clipboard
TimeSpanUpDown exeption on invalid keyboard input
Hi, I faced an issue when I enter invalid TimeSpan values on TimeSpanUpDown control. E.g. exceptions occur when I remove one of the separator colon (":") or if I enter values greater than allowed (ArgumentOutOfRangeException). As there is no catch block to handle such error cases the exception occurs also on my application as unhandled exception.
I attached the changed TimeSpanUpDown.cs file where I simply added a try catch block.