3 Answers, 1 is accepted
0
Hello Kamlesh,
Thank you for your interest in RadControls for Silverlight.
To achieve the result you are looking for you should edit the Theme of the RadTreeView control. Unfortunately, you need to do this manually due to current issues with the Blend support. Tweaking the Theme colors is a nice article related to themes modifying.
The case analogous to yours is explained thoroughly in SelectionVisual forum thread - indeed I just slightly modified the TreeView.xaml file in order to get hovering look different. In the attached archive you can find a modified version of the Theming project where techniques described bellow are applied:
All the best,
Ivan
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for your interest in RadControls for Silverlight.
To achieve the result you are looking for you should edit the Theme of the RadTreeView control. Unfortunately, you need to do this manually due to current issues with the Blend support. Tweaking the Theme colors is a nice article related to themes modifying.
The case analogous to yours is explained thoroughly in SelectionVisual forum thread - indeed I just slightly modified the TreeView.xaml file in order to get hovering look different. In the attached archive you can find a modified version of the Theming project where techniques described bellow are applied:
- the row 33 - the insertion point of the MouseOverBrush brush - if you redefine it you should remove it from this place. Note I removed it in the modified file.
- the rows between 42 and 49 (only in the modified file) - here I redefined the MouseOverBrush brush.
- beginning from the row 537 in the original file and 545 in the modified one - here we scripted the visual representation of the tree item hovering effect.
All the best,
Ivan
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Meliton Tienda
Top achievements
Rank 1
answered on 12 Jan 2010, 10:45 PM
Hello. i have a question.
It´s possible define the theme="Vista" from c# code.
in Xaml it´s
telerik:StyleManager.Theme="Vista" but i´m trying to do this from codebehide
any suggestion??
It´s possible define the theme="Vista" from c# code.
in Xaml it´s
telerik:StyleManager.Theme="Vista" but i´m trying to do this from codebehide
any suggestion??
0
Hello Meliton Tienda,
Please check this help article:
http://www.telerik.com/help/silverlight/common-styling-apperance-setting-theme.html
Regards,
Valentin.Stoychev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Please check this help article:
http://www.telerik.com/help/silverlight/common-styling-apperance-setting-theme.html
Regards,
Valentin.Stoychev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.