diff --git a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/DateTimeUpDown/Implementation/DateTimeParser.cs b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/DateTimeUpDown/Implementation/DateTimeParser.cs index 8702d5fb..a0d00f22 100644 --- a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/DateTimeUpDown/Implementation/DateTimeParser.cs +++ b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/DateTimeUpDown/Implementation/DateTimeParser.cs @@ -39,7 +39,7 @@ namespace Microsoft.Windows.Controls bool success = false; result = currentDate; - if (string.IsNullOrEmpty(value)) + if (string.IsNullOrEmpty(value) || string.IsNullOrEmpty(Format)) return false; var dateTimeString = ResolveDateTimeString(value, currentDate);