Using the Q3 release, setting the Selection/Visible/Period Start and End dates on the TimeBar via two-way data binding is no longer working. It works exactly once before it begins showing incorrect values. This was supposedly fixed in a nightly build a while ago and has been regressed upon release.
The test case is simple: create a TimeBar that is bound via two-way binding to some data source. Set each of the properties in the data source in the following order (all timestamps include a 12:00 AM time portion):
0) Create a TimeBar bound to a null ObservableCollection. Initial values are as follows:
SelectionStart = 11/22/2011
SelectionEnd = 12/16/2011
VisiblePeriodStart = 11/20/2011
VisiblePeriodEnd = 12/18/2011
PeriodStart = 11/18/2011
PeriodEnd = 12/20/2011
1) (Works as expected -- no change from initial state)
SelectionStart = 11/22/2011
SelectionEnd = 12/16/2011
VisiblePeriodStart = 11/20/2011
VisiblePeriodEnd = 12/18/2011
PeriodStart = 11/18/2011
PeriodEnd = 12/20/2011
2) (Works as expected)
SelectionStart = 12/2/2011
SelectionEnd = 12/8/2011
VisiblePeriodStart = 11/30/2011
VisiblePeriodEnd = 12/10/2011
PeriodStart = 11/28/2011
PeriodEnd = 12/12/2011
3) (TimeBar does not update as expected)
SelectionStart = 11/26/2011 (TimeBar shows 11/28/2011)
SelectionEnd = 12/8/2011
VisiblePeriodStart = 11/24/2011 (TimeBar shows 11/28/2011)
VisiblePeriodEnd = 12/10/2011
PeriodStart = 11/22/2011
PeriodEnd = 12/12/2011
4) (TimeBar does not update as expected)
SelectionStart = 11/26/2011 (TimeBar shows 11/28/2011)
SelectionEnd = 12/15/2011 (TimeBar shows 12/12/2011)
VisiblePeriodStart = 11/24/2011 (TimeBar shows 11/28/2011)
VisiblePeriodEnd = 12/17/2011 (TimeBar shows 12/12/2011)
PeriodStart = 11/22/2011
PeriodEnd = 12/19/2011
At no point is the TimeBar provided with data. I'm simply changing the bounding properties and it's failing miserably.
The test case is simple: create a TimeBar that is bound via two-way binding to some data source. Set each of the properties in the data source in the following order (all timestamps include a 12:00 AM time portion):
0) Create a TimeBar bound to a null ObservableCollection. Initial values are as follows:
SelectionStart = 11/22/2011
SelectionEnd = 12/16/2011
VisiblePeriodStart = 11/20/2011
VisiblePeriodEnd = 12/18/2011
PeriodStart = 11/18/2011
PeriodEnd = 12/20/2011
1) (Works as expected -- no change from initial state)
SelectionStart = 11/22/2011
SelectionEnd = 12/16/2011
VisiblePeriodStart = 11/20/2011
VisiblePeriodEnd = 12/18/2011
PeriodStart = 11/18/2011
PeriodEnd = 12/20/2011
2) (Works as expected)
SelectionStart = 12/2/2011
SelectionEnd = 12/8/2011
VisiblePeriodStart = 11/30/2011
VisiblePeriodEnd = 12/10/2011
PeriodStart = 11/28/2011
PeriodEnd = 12/12/2011
3) (TimeBar does not update as expected)
SelectionStart = 11/26/2011 (TimeBar shows 11/28/2011)
SelectionEnd = 12/8/2011
VisiblePeriodStart = 11/24/2011 (TimeBar shows 11/28/2011)
VisiblePeriodEnd = 12/10/2011
PeriodStart = 11/22/2011
PeriodEnd = 12/12/2011
4) (TimeBar does not update as expected)
SelectionStart = 11/26/2011 (TimeBar shows 11/28/2011)
SelectionEnd = 12/15/2011 (TimeBar shows 12/12/2011)
VisiblePeriodStart = 11/24/2011 (TimeBar shows 11/28/2011)
VisiblePeriodEnd = 12/17/2011 (TimeBar shows 12/12/2011)
PeriodStart = 11/22/2011
PeriodEnd = 12/19/2011
At no point is the TimeBar provided with data. I'm simply changing the bounding properties and it's failing miserably.