I need to create a control that is much like the Storyboard editor in Expression blend (and other tools). I would like (zoomable) minor/major tick marks that represent the timeline, starting at time 0 and moving forward. I think the main distinction is that it's more of a TimeSpan than a range of actual date times. I'll display my actions as a multicolored bar underneath the timeline.
Does anyone know if the xamTimeline would be able to do this? Also, which NetAdvantage release is it in? I have 2010.2 CLR 4.0 but the help docs here: http://help.infragistics.com/NetAdvantage/WPF/2010.2/CLR4.0/ don't show it.
Thanks,
Greg
Well, I'm sure this is a one-off kind of thing.
Thanks for the reply, though.
-Greg
Hi,
Yes, unfortunately the Timeline is not really designed for cases like yours. We might need to think about creating control that can fit your requirements.
Thanks for your reply, Teodor - sorry that was a bit vauge. What I would like to do is have a control that shows a time span, say, 0 - 10 seconds, from left to right. This would be shown with a tickbar with major and minor ticks.
Underneath that would be 1 to n rows of "actions" as I called them...this would look like a horizontal bar - actually, think of a grid with one row, and several columns....the column alternate between red and green. The width of the column corresponds to the "duration" of the action, and can be mapped to the tickmarks above. What I would like is for the user to be able to drag the "column" or action to the right or left (like a slider) to adjust it's start time, OR drag the right side of it to adjust it's width (its "duration").
In some of the xamTimeLine examples, I've seen meetings displayed somewhat like this...the width of the meeting corresponds to it's duration. You can think of my requirements as multiple meetings back to back. When you lengthen one meeting, you have to shorten the one next to it.
Anyway, I hope this helps...the more I look at it the more I think a custom control is what I need...I was just hoping I might be able to use the XamTimeLine instead of rolling my own.
Thanks!
The Timeline is a part of the Data Visualization products. You can find documentation here:
http://help.infragistics.com/NetAdvantage/WPFDV/2011.1/CLR4.0/
I’m not sure I understand exactly your requirements. Can you provide more info about - “I'll display my actions as a multicolored bar underneath the timeline.”?