This is a migrated thread and some comments may be shown as answers.

MajorTickLenght Intervall

5 Answers 62 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Ibrahim Imam
Top achievements
Rank 1
Ibrahim Imam asked on 20 Sep 2011, 07:22 PM
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

5 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 21 Sep 2011, 07:35 AM
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 >>
0
Ibrahim Imam
Top achievements
Rank 1
answered on 21 Sep 2011, 09:19 AM
Hello,

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

BR
0
Pana
Telerik team
answered on 21 Sep 2011, 09:24 AM
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 >>
0
Ibrahim Imam
Top achievements
Rank 1
answered on 21 Sep 2011, 09:33 AM
Hi,

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

BR
0
Pana
Telerik team
answered on 21 Sep 2011, 02:24 PM
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 >>
Tags
ScheduleView
Asked by
Ibrahim Imam
Top achievements
Rank 1
Answers by
Pana
Telerik team
Ibrahim Imam
Top achievements
Rank 1
Share this question
or