Programmatic Scrolling
The Telerik UI for .NET MAUI Scheduler provides an option for programmatic scrolling. The option allows you to set up the Scheduler so that the view is scrolled to specific time, for example directly to the working hours. This can be achieved with the ScrollIntoView
method.
ScrollIntoView
method scrolls the current View to the specified time. It accept a single parameter of type TimeOnly
. The snippet below shows how the method can be used - in short, it scrolls the view to "10AM":
TimeOnly timeToScrollTo = new TimeOnly(10, 0, 0);
this.scheduler.ScrollIntoView(timeToScrollTo);