MajorTickLenght Intervall

6 posts, 0 answers
  1. Ibrahim Imam
    Ibrahim Imam avatar
    69 posts
    Member since:
    Jul 2007

    Posted 20 Sep 2011 Link to this post

    Hello,

    I would like to use a MajorTickLenght and MinorTickLenght of 90 minutes. I read that there are only specific intervalls supported like 1 hour or 3 hours. There is a workaround that allows me to use 90 minutes because this is the only intervall an appointment can be in our current project?

    Thx
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 21 Sep 2011 Link to this post

    Hi,

    We do support such values. It is just the type converter does not list them as default values. Consider the following line:

    using Telerik.Windows.Controls; 
    DayViewDefinition dvd = new DayViewDefinition();
    dvd.MinorTickLength = new FixedTickProvider(new DateTimeInterval(30, 1, 0, 0, 0));


    Kind regards,
    Pana
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. Ibrahim Imam
    Ibrahim Imam avatar
    69 posts
    Member since:
    Jul 2007

    Posted 21 Sep 2011 Link to this post

    Hello,

    where can I find the FixedTickProvider class? I guess this is custom class implemented in a sample?

    BR
  4. Pana
    Admin
    Pana avatar
    748 posts

    Posted 21 Sep 2011 Link to this post

    Hi,

    I am sorry. I may have included the wrong namespace. I believe the FixedTickProvider is available in Telerik.Windows.Controls.ShceduleView in the ScheduleView assembly.

    Best wishes,
    Pana
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  5. Ibrahim Imam
    Ibrahim Imam avatar
    69 posts
    Member since:
    Jul 2007

    Posted 21 Sep 2011 Link to this post

    Hi,

    thanks for the hint.
    The correct class name would be Telerik.Windows.Controls.FixedTickLengthProvider.

    BR
  6. Pana
    Admin
    Pana avatar
    748 posts

    Posted 21 Sep 2011 Link to this post

    Hello,

    We have done some work in that direction. Probably the ticks will be a little refactored with the Q2.SP1. Also the fixed tickets will be set using FixedTickProvider.

    All the best,
    Pana
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top