saulgreenberg / TimelapseDeprecatedPre2.3

Timelapse Image Analysis Tool
Other
1 stars 0 forks source link

DateTimePicker and related bugs #70

Closed saulgreenberg closed 6 years ago

saulgreenberg commented 6 years ago

The WPFToolkit DateTimePicker has a bug, where it does not fire the ValueChanged event.

saulgreenberg commented 6 years ago

Solution was to o Add code (mostly to Dialogs that edits or selects dates) to update it on mouseleave or mousemove o Changed ValueChanged event to look at string (which is the new value) rather than value.value

Note that this is a bug in WPFToolkit 3.2, reported https://github.com/xceedsoftware/wpftoolkit/issues/1206 is only partially solved in that post. While using up/down fires the event in their solution, selecting a date using the calendar does not. o Note that I downloaded the 3.2 source and modified it according to the above fix, but since it didnt completely solve the problem I didn't bother using the modified dll. .