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

ScheduleView.ScrollTimeRuler - Detect if time is in view

1 Answer 27 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Pete
Top achievements
Rank 1
Pete asked on 14 Feb 2013, 09:32 AM
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

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 15 Feb 2013, 11:55 AM
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.

Tags
ScheduleView
Asked by
Pete
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or