Following up on the topic raised by Marcelo, I am also investigating the use of the RadTimeLine and RadTimeBar as controls for a video editor. My goal is to enable both a large scale view of key frames, over an hour perhaps, and also permit zooming down to a fine grain view of key frames... at 4 mSec resolution perhaps.
What I observe is that if I define a RadTimeBar like this, with a 10 second period, I can zoom only down to 30 mSec:
<
telerik:RadTimeBar
x:Name
=
"xRadTimeBar"
Grid.Column
=
"1"
Grid.ColumnSpan
=
"2"
Grid.Row
=
"1"
PeriodStart
=
"1/1/2011 00:00:00"
PeriodEnd
=
"1/1/2011 00:00:10"
VisiblePeriodStart
=
"1/1/2011 00:00:00"
VisiblePeriodEnd
=
"1/1/2011 00:00:10"
SelectionStart
=
"1/1/2011 00:00:00"
SelectionEnd
=
"1/1/2011 00:00:10"
IsSnapToIntervalEnabled
=
"True"
>
<
telerik:RadTimeBar.Intervals
>
<
telerik:MinuteInterval
IntervalSpans
=
"1"
/>
<
telerik:SecondInterval
IntervalSpans
=
"1"
/>
<
telerik:MillisecondInterval
IntervalSpans
=
"4, 16, 32, 64"
/>
</
telerik:RadTimeBar.Intervals
>
</
telerik:RadTimeBar
>
But with a period of 1 second, I can zoom down to 4 mSec:
<
telerik:RadTimeBar
x:Name
=
"xRadTimeBar"
Grid.Column
=
"1"
Grid.ColumnSpan
=
"2"
Grid.Row
=
"1"
PeriodStart
=
"1/1/2011 00:00:00"
PeriodEnd
=
"1/1/2011 00:00:01"
VisiblePeriodStart
=
"1/1/2011 00:00:00"
VisiblePeriodEnd
=
"1/1/2011 00:00:01"
SelectionStart
=
"1/1/2011 00:00:00"
SelectionEnd
=
"1/1/2011 00:00:01"
IsSnapToIntervalEnabled
=
"True"
>
<
telerik:RadTimeBar.Intervals
>
<
telerik:MinuteInterval
IntervalSpans
=
"1"
/>
<
telerik:SecondInterval
IntervalSpans
=
"1"
/>
<
telerik:MillisecondInterval
IntervalSpans
=
"4, 16, 32, 64"
/>
</
telerik:RadTimeBar.Intervals
>
</
telerik:RadTimeBar
>
Maybe I am not using the control correctly... but if I am, it seem to me that zooming into mSec from a period greater than a few seconds is not supported. Is that correct?
Changes to the VisiblePeriod values appears to make no difference, the final granularity appears to be tied to the PeriodStart/End values.
Usage advice greatly appreciated!
Thanks,
Mike