The DateTimePicker crashes with ExecutionEnginException unhanled exception when it's visibility state changes from collapsed to visible.
Setup
- Community edition (v2.9), Visual Studio 2015 update 3
xaml:
<xctk:DateTimePicker Value="{Binding EndDate}" Visibility="{Binding dtpVisible, Converter={StaticResource BoolToVisConverter}}"/>
*Note* - the BoolToVisConverter is the msdn converter resource
<BooleanToVisibilityConverter x:Key="BoolToVisConverter"/>
Going from Hidden to Visible state is stable. Just crashes when going from Collapsed to Visible.
The exception is the same but where it occurs tends to change.
Exceptions seen
System.ExecutionEngineException was unhandled
Message: An unhandled exception of type 'System.ExecutionEngineException' occurred in WindowsBase.dll
System.ExecutionEngineException was unhandled
Message: An unhandled exception of type 'System.ExecutionEngineException' occurred in PresentationCore.dll
System.ExecutionEngineException was unhandled
Message: An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll
Comments: Not a bug
Setup
- Community edition (v2.9), Visual Studio 2015 update 3
xaml:
<xctk:DateTimePicker Value="{Binding EndDate}" Visibility="{Binding dtpVisible, Converter={StaticResource BoolToVisConverter}}"/>
*Note* - the BoolToVisConverter is the msdn converter resource
<BooleanToVisibilityConverter x:Key="BoolToVisConverter"/>
Going from Hidden to Visible state is stable. Just crashes when going from Collapsed to Visible.
The exception is the same but where it occurs tends to change.
Exceptions seen
System.ExecutionEngineException was unhandled
Message: An unhandled exception of type 'System.ExecutionEngineException' occurred in WindowsBase.dll
System.ExecutionEngineException was unhandled
Message: An unhandled exception of type 'System.ExecutionEngineException' occurred in PresentationCore.dll
System.ExecutionEngineException was unhandled
Message: An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll
Comments: Not a bug