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

Vertical Scrollbar

5 Answers 76 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Jakob
Top achievements
Rank 1
Jakob asked on 16 Apr 2018, 10:40 AM
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

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 18 Apr 2018, 09:38 PM
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
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
Martin Ivanov
Telerik team
answered on 23 Apr 2018, 10:28 AM
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
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
Martin Ivanov
Telerik team
answered on 27 Apr 2018, 06:20 AM
Hello Jakob,

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.
Tags
TimeBar
Asked by
Jakob
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Jakob
Top achievements
Rank 1
Share this question
or