Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
Adding Markers into the DateTimeEntry of xamWebTimeLine\DateTimeSeries?
posted

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

Parents
No Data
Reply
  • 17605
    Suggested Answer
    posted

    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?

Children