Actual Time as a colored line

Posted by: grisu118 on 19 September 2017, 10:59 am EST

    • Post Options:
    • Link

    Posted 19 September 2017, 10:59 am EST

    Hi

    I’m searching for a way to show the actual time as a colored line (example → attached file).

    Exists already for a specific property or how can I solve this with the C1 Scheduler? Unfortunately have not found anything in the documentation

    Thank you

    Michael

  • Posted 19 September 2017, 10:59 am EST

    it is not implemented in the xaml versions. You can try to implement it in the custom control template, but it should be quite complicated. I’ll add it to our todo list. What if it will be only shown over the time ruler? Or you really need it over the whole view? Can you explain it?

  • Posted 19 September 2017, 10:59 am EST

    Thank you for your answer.

    I was asked to port an existing agenda (VB6 Data Grid) on vb.net. This feature is highly appreciated by the customers.

    The variant with the time ruler is better than no indication in any case. Is there already a solution?

    Thank you

  • Posted 19 September 2017, 10:59 am EST

    Hi Irina

    What’s the way by code behind for the indication on the actual time on the time ruler?

    re

    Michael

  • Posted 19 September 2017, 10:59 am EST

    Hello,

    Currently it is not possible and I am escalating your issue to the concerned team as an enhancement request(84501).

    We cannot commit when / if it will be incorporated.

    We will update you once we hear anything from our concerned team.

    Thanks,

    Reeva

  • Posted 19 September 2017, 10:59 am EST

    thanks for request. It will be available in build 420. But current time indicator will be only shown over the time ruler.

  • Posted 19 September 2017, 10:59 am EST

    Hello,

    Your issue has been fixed in 420 build given below wherein Time Ruler control has been added and is used in default C1Schedular controls for indicating current time:-

    ftp://ftp.componentone.com/SupportFTP/Public/Reeva/C1WPFBasicLibrary.4_4.0.20142.420.zip

    Hope it helps.

    Thanks,

    Reeva

  • Posted 19 September 2017, 10:59 am EST

    Hi

    Thank you for your work. The time indicator over the time ruler works fine.

    But this is only a part, we require even the indicator over the entire width.

    Unfortunately we have not been able to extend the line or access attributes this line to itself eg to draw a line.

    Is there more detailed information as I can do it in XAML or in code-behind?

    re,

    Michael

  • Posted 19 September 2017, 10:59 am EST

    Hello,

    We have escalated your issue again and we will update you once we will have a fix for the same.

    Thanks,

    Reeva

  • Posted 19 September 2017, 10:59 am EST

    Hello Reeva

    Thank you for your feedback.

    Is it possible that I get a response by Wednesday whether it will still be adjusted?

    I have to decide by next week whether we will use the C1Scheduler component in future or not.

    Thanks in advance and sorry for the stress

    Michael

  • Posted 19 September 2017, 10:59 am EST

    Hello Michael,

    We will try to provide you with a response/fix by coming wednesday. We have pinged our developers again for the same.

    Thanks,

    Reeva

  • Posted 19 September 2017, 10:59 am EST

    We won’t implement it on the control level. It can be implemented in the custom control templates.

    I attached CustomTimeRuler sample with the current time indicator shown over the whole UI. You can adjust it according your needs.

    2014/10/CustomTimeRuler.zip

  • Posted 19 September 2017, 10:59 am EST

    Thank you for the example. It works so far, but confused me a couple of places:

    If I make the window wider so that the line has a width of more than 1061, then the line disappears? What is the reason?

    We then tried the line in our example (example in the Appendix, grouped in several days: the first day, second calendar) installed.

    In “OneDayStyle” the line is displayed but always at 13:00 (probably because of the reference in TimeRuler missing). In the “Working Week Style” the current time is displayed in TimeRuler, but it is still unclear to us how we must explicitly insert the line.

    We would be happy if we get here again a Tip

    Thanks

  • Posted 19 September 2017, 10:59 am EST

    second attempt…

    2014/10/CustomViews.zip

  • Posted 19 September 2017, 10:59 am EST

    issue about wide window is already fixed in our development code, will be included into the next published version.

    I’ll take a look at your sample later this week and will be back to you.

  • Posted 19 September 2017, 10:59 am EST

    I can’t check your xaml at runtime, as you use custom converter and I have no your code.

    So, just from reviewing your xaml:

    1. search your xaml for HourMarkersList - it’s old TimeRuler implementation, remove it.
    2. You placed TimeRuler inside ItemTemplate which is used to display individual data group. I’m not sure whether it works at all. If it is, it should show individual TimeRuler for every data group (if you set GroupBy=“Category”, you should see 2 time rulers). Do you need it?
    3. TumeRuler should be added to the parent Grid after all other child elements. It would make it on the top in z-order and current time line won’t be hidden under other elements. In your xaml it should be after next/previous Canvas.
    4. make sure that Scheduler actually uses your style, set Background in style to Red and check whether it works.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels