Rad Scheduler Ruler Customize

3 posts, 0 answers
  1. Jay
    Jay avatar
    2 posts
    Member since:
    Nov 2016

    Posted 02 Nov 2016 Link to this post

    i want to customise Scheduler's Ruler like Attached Image 

    can any one tell me set start time and end time 


    how to set gap between two time?

  2. Dess
    Dess avatar
    2164 posts

    Posted 02 Nov 2016 Link to this post

    Hello Jay,

    Thank you for writing.  

    The default scale of the ruler can be set with a single property (RangeFactor) to any of the predefined values, or the user can select a new scale by simply right-clicking in the time ruler and selecting the preferable setting. The start/end of the ruler can be controlled by the RulerStartScale and RulerEndScale properties. You can set the RangeFactor to 7 minutes as below but note that 60 minutes is not divisible by 7. Hence, the last cell within the hour will take more than 7 minutes. It is recommended to set the RangeFactor to an integer number where 60 is divisible by it.   
    public RadForm1()
        this.radScheduler1.ActiveViewType = Telerik.WinControls.UI.SchedulerViewType.Day;
        this.radScheduler1.GetDayView().RangeFactor = (Telerik.WinControls.UI.ScaleRange)7;
        this.radScheduler1.GetDayView().RulerStartScale = 8;
        RulerPrimitive ruler = (this.radScheduler1.SchedulerElement.ViewElement as SchedulerDayViewElement).DataAreaElement.Ruler;
        ruler.FormatStrings = new RulerFormatStrings("HH", "mm", "hh", "mm");

    I hope this information helps. Should you have further questions I would be glad to help.

    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. Jay
    Jay avatar
    2 posts
    Member since:
    Nov 2016

    Posted 02 Nov 2016 in reply to Dess Link to this post

    Thanks for help

    you save my day :D

    if i have any query related this i will post it here.

    thanks again

Back to Top