I have one simple silverlight ListBox control which is being replaced by RadTreeView control conditionally. The appearance of the scroll bar is significantly different in these two controls and easily noticed by the user. Is there any way I can turn at least either of the control's scrollbar look and feel uniform with that of the other control. Your help will be greatly appreciated.
[Attaching the current appearance screenshots for references ]
Thanks,
Gauri.
6 Answers, 1 is accepted
Have you considered using our RadListBox? If you use RadListBox and RadTreeView you will have an out-of-the-box "theming consistency". Another solution is to use telerik Styles for the CheckBoxes and the Scrollviewer in the ListBox but this will be a lot of work.
Kind regards,Petar Mladenov
the Telerik team
Though using RadListBox will be a too much of a rework, as plain silverlight listboxes are being used at multiple places in the application I have. Even most of the other controls are silverlight controls which are consistent with the look and feel. As only RadTreeView control has a different appearance, changing it is only my option for now.
I tried to follow http://msdn.microsoft.com/en-us/library/cc278065(v=vs.95).aspx for my use, but I am yet to figure out how would I go about it.
Thanks,
Gauri.
I meant that using RadListBox will be easier instead of playing with Styles. The RadListBox and the ListBox have many equal property names and structure.
However, if you need to change the Style of the ScrollViewer from the RadTreeView, you have to get /extract from Blend the Template of the RadTreeView.
Petar Mladenov
the Telerik team
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
So the option that I would want to opt for is to use Template of the RadTreeView extracted from Blend. Could you please advise how would I go about it ? Any useful links will also greatly help.
Thanks,
Gauri.
I need a qucik way to do this. Can anybody please help me with this?
The RadListBox is part of the Q1 2012 and may be you have an earlier version, so that is why you cannot see it / use it. When you install the RadControls for Silverlight in Program Files the paths to the desired themes are:
C:\Program Files (x86)\Telerik\RadControls for Silverlight Q1 2012\Themes\OfficeBlack\Themes\Office\Black\System.Windows.ListBox.xaml - Telerik theme for MS ListBox
C:\Program Files (x86)\Telerik\RadControls for Silverlight Q1 2012\Themes\OfficeBlack\Themes\Office\Black\TreeView.xaml - the RadTreeView default theme
However, instead of playing with themes we highly recommend you to use Q1 and our RadListBox.
Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>