Select to view content in your preferred language

TimeSlider control - Are the NewValue and OldValue reversed?

341
1
10-01-2010 12:15 PM
DarinaTchountcheva
Frequent Contributor
Hi guys,

I have played with the TimeSlider today a little bit (very cool BTW), and while trying to make a HeatMapLayer change when the Value of the TimeSlider changes by handling the ValueChanged event I noticed that my NewValue and OldValue of the ValueChangedEventArgs class are reversed.

Example: On the slider, I change the date from 09/20/2010 to 09/19/2010, and I expect my OldValue.End to be 09/20/2010, and NewValue.End to be 09/19/2010, but they are reversed. 

Is this a bug, or I am not interpreting the properties correctly?

Thank you!
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
You are right. Thank you for your post. This is a bug.
0 Kudos