I'm trying to make a custom theme for the RadTimeline.
Im my custom theme, I want to wrap a ScrollViewer around the Timeline's TimelineItemContainer just like described in this post: http://www.telerik.com/community/forums/silverlight/timeline/vertical-scrollbar-scrollviewer-and-radtimeline.aspx
and I want to remove the horizontal scrollbar of the control (the RadSlider at the bottom).
I've tried to create a custom theme using the approach described here:
(albeit the documentation is for Silverlight, couldn't find anything similar for WPF)
and I've also had a look at the sample project here:
I couldn't manage to get the theme working.
I'm not sure if I made everything right in the theme project - especially the following things in the XAML of my custom theme:
- <my:MyTheme x:Key="Theme" />
- The many references to ThemeType=telerik:Office_BlackTheme
- content of Generic.xaml
- declaration of MyTheme class
Basically, I've just copied the file C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2012 SP1\Themes\WPF40\Windows7\Themes\Telerik.Windows.Controls.DataVisualization.xaml which contains the style for RadTimeline to my CustomTheme project and modified the style there. I'm not quite sure, if that was correct, or what I've done wrong.
Actually, it doesn't have to be a whole custom theme, I just want to change the style of RadTimeline like described above. So, my first try was to edit the style using Expression Blend. I selected the RadTimeline and chose: Edit Template --> Edit a Copy. This alone shouldn't change the style at all, shouldn't it? But instead, the whole control is white/transparent - please see the attached files before_edit_template.png and after_edit_template.png. I expect it to look exactly the same as before calling Edit Template --> Edit a Copy. Why isn't it?
) is a Solution which contains 2 Projects: A custom theme project and a project which uses the custom theme (at least tries to) to change the style of a RadTimeline. Maybe someone could have a look at it and maybe tell me, what's the problem, or point me in a direction.
Thanks in advance!