Events are not displayed correctly when they are being moved across non-visible, non-work days in Time view. The problems occur when WorkDaysOnly is set to True and SnapEventsToTimeSlots is set to False. Under these conditions, when an event is moved past midnight of a non work day the event appears to be incorrectly clipped. The attached sample application can be used to reproduce the problem.
Steps to Reproduce:
Scenario 1:
1) Run the Project1 application.
2) Maximize the application window and scroll the Time grid to the right until you can see the Shift event that runs from 8PM-11PM on Thursday August 21, 2008.
3) Click the Shift event near the LEFT edge and move the event to the right.
4) As you are moving the event, it should be displayed between 11PM and 11:59PM, but the event is clipped off around 11PM.
Scenario 2:
1) Run the Project1 application.
2) Maximize the application window and scroll the Time grid to the right until you can see the Shift event that runs from 8PM-11PM on Thursday August 21, 2008.
3) Click the Shift event near the RIGHT edge and move the event to the right.
4) Once again the event is clipped off around 11PM on Thursday. In addition if you continue moving the event to the right until the cursor is positioned on Saturday, August 23rd the Shift event should be displayed between 12AM and 1AM on August 23rd. However the event is clipped off around 1AM.
Note that the event display issues go away if SnapEventsToTimeSlots is set to True.