Hi,
How can I get the Left & Right TimeSpan on Zoombar Changed.
Normally Changing the timeline's zoom as following on Zoombar_ZoomChanged event.
this.Timeline1.Axis.ScrollPosition = e.NewRange.Scroll;
this.Timeline1.Axis.ScrollScale = e.NewRange.Scale;
I want to get the Left & Right Duration Moved for that ScrollScale on Zoombar changed event.
Zoombar Range is set with DateTimeAxis Scale Range.
So Want is Property/Method of DateTimeAxis, I can use to get this?
Thanks,
Kola
Thanks a lot. I am getting the information now.
In the latest service release we added ActualMinimum/Maximum and VisibleMinimum/Maximum properties in the axes. You can try using:
DateTimeAxis dateTimeAxis = this.Timeline1.Axis as DateTimeAxis;
DateTime leftVisible = dateTimeAxis.VisibleMinimum;
DateTime rightVisible = dateTimeAxis.VisibleMaximum;
DateTime left = dateTimeAxis.ActualMinimum;
DateTime right = dateTimeAxis.ActualMaximum;
You can download the latest service release from:
http://es.infragistics.com/Membership/Default.aspx?panel=Downloads