ScheduleView.ScrollTimeRuler - Detect if time is in view

2 posts, 0 answers
  1. Pete
    Pete avatar
    67 posts
    Member since:
    Sep 2012

    Posted 14 Feb 2013 Link to this post

    I have a button that calls ScheduleView.ScrollTimeRuler to scroll the current time into view on the ScheduleView. I would like to disable the button if the current time is visible - is there any way of being able to get this information? At the moment, users can click the button and nothing happens, which is not ideal.

    Thanks
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 15 Feb 2013 Link to this post

    Hi Pete,

    I would suggest to use FirstVisibleTime property of the ScheduleView - it is set to the current scroll logical position by a timeruler.

    Hope this helps.

    Greetings,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top