I have an application with many objects in the timebar, in fact so many that it can fit on a normalt screen, so I was wonderring if it is possible to add a vertical scrollbar, somwhow?
5 Answers, 1 is accepted
0
Accepted
Hello Jakob,
The timebar control itself doesn't have items so it doesn't have a built-in vertical scrollbar. To achieve your requirement you can try setting the Height of the items control shown in the timebar and wrap it in a ScrollViewer control before that. Can you please try approach and let me know how it goes?
If this solution doesn't work for you can you share some runnable code showing your set up? This will help me to better understand your scenario and think of a suitable solution.
Regards,
Martin Ivanov
Progress Telerik
The timebar control itself doesn't have items so it doesn't have a built-in vertical scrollbar. To achieve your requirement you can try setting the Height of the items control shown in the timebar and wrap it in a ScrollViewer control before that. Can you please try approach and let me know how it goes?
If this solution doesn't work for you can you share some runnable code showing your set up? This will help me to better understand your scenario and think of a suitable solution.
Regards,
Martin Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Jakob
Top achievements
Rank 1
answered on 20 Apr 2018, 07:28 AM
It seems that I should have tried that in the RadSceduleView, and now my inital problem is solved by adding:
MaxHeight="250" VerticalScrollBarVisibility="Auto"
However it seems like the RadTimeBar goes into the scroller, see attahced picture
0
Hello Jakob,
Maybe, as an alternative solution you could try to define a ScrollBar outside of the RadTimeBar control and synchronize it with the ScrollViewer of RadScheduleView. Or instead of ScrollBar you can use another ScrollViewer and use the approach shown in the following stackoverflow question to sync the scrolls
Regards,
Martin Ivanov
Progress Telerik
Maybe, as an alternative solution you could try to define a ScrollBar outside of the RadTimeBar control and synchronize it with the ScrollViewer of RadScheduleView. Or instead of ScrollBar you can use another ScrollViewer and use the approach shown in the following stackoverflow question to sync the scrolls
Regards,
Martin Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Jakob
Top achievements
Rank 1
answered on 26 Apr 2018, 01:37 PM
Hi Martin, I managed to find a solution where I adjusted the Margin, to 2,2,16,2 and now it looks good.
Thanks for the help
0
Hello Jakob,
I am glad to see that you managed to resolve this.
Regards,
Martin Ivanov
Progress Telerik
I am glad to see that you managed to resolve this.
Regards,
Martin Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.