Posted 15 years ago by Markus Springweiler
Version: 4.5.0484
Avatar
I found several problems with the DateTimePicker:
  • UpdateSourceTrigger=PropertyChanged is ignored, it still only updates when leaving focus -- which is problematic when used inside a ToolBar since ToolBars have its own focus scope and so it never looses focus automatically when buttons outside the ToolBar are being clicked
  • The DropDown does not work when the DTP is placed inside a ToolBar: You only can click days of the currently showing months but you are not able to change the month or the year
  • With enabled YearSelectionEnabled it's somewhat confusing that mouse-wheel-up and the navigation buttons down are scrolling in the same direction
<shared:DateTimePicker FirstDayOfWeek="Monday" IsEditable="True" ClearButtonVisible="True"
                                    TodayButtonVisible="True" WeekNumbersVisible="True" YearSelectionEnabled="True"
                                    TodayButtonContent="heute" ClearButtonContent="leeren"
                                    Value="{Binding DataObj.Start, UpdateSourceTrigger=PropertyChanged}" />

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Markus,

You are correct, the LostFocus we checked wasn't being updated if you click into another focus scope. We've added some code for the next maintenance release to look for this scenario and update the value when it occurs.

I think we found the problem with focus that was causing the dropdown to hide. It's fixed for the next build.

Good point, we'll toggle the mouse wheel to do the opposite.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.