Hi,
Is there any way to add markers in the duration of DateTimeEntry of xamWebTimeLine\DateTimeSeries control.
And How to set styles dynamically?
Because I have to generate all the controls dynamically thru code. And all the DateTimeSeries of TimeLine should display in stack rather than single line.
Thanks,
Kola
You can set styles dynamically with something like:
Style eventSpanStyle = new Style(typeof(EventSpan));
eventSpanStyle.Setters.Add(new Setter(EventSpan.FillProperty, new SolidColorBrush(Colors.Black)));
NumericTimeSeries series = new NumericTimeSeries();
series.EventSpanStyle = eventSpanStyle;
About the other questions can be more specific what you need exactly?
Thank You.
I am trying to create ControlTemplate in Style Dynamically to set some image and a rectangle.
And another one Marker(EventPoint) in the DateTimeSeries Entry it was not there in the XamWebTimeLine.
For this you need to specify the styles in the XAML and after that you can apply it to the timeline in the code.