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

RadTreeView Item Check box highlight style color

3 Answers 152 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Gobi
Top achievements
Rank 1
Gobi asked on 29 Apr 2011, 11:34 AM
Dear Support,

I am using RadTreeView with Checkbox.
I wanted to apply blue color to the checkbox highlight style. But i am not able to do so.
Kindly help me in achieveing it.

Thanks in advance for your support.
Please find the attached file, where it shows both required checkbox color and exisiting TreeVeiw checkbox color.

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 04 May 2011, 03:44 PM
Hello Gobi,

In order to use the MS style of the Checkbox  control in our RadTreeViewItem control,  you have to edit the control template of the control in Blend. After that you have to find the fowling code snippet in the xaml code.

<CheckBox x:Name="CheckBoxElement" Grid.Column="2" IsTabStop="False" Margin="5,0,0,0"  Visibility="Collapsed" VerticalAlignment="Center"  telerik:StyleManager.Theme="{StaticResource Theme}"/>

Finally you have to remove the code in Yellow.

Please find attached an example.

If you have further questions please do not hesitate to ask us.
I hope this will help you.



Kind regards,
Dimitrina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
William
Top achievements
Rank 1
answered on 16 Oct 2014, 08:32 PM
I'm in Blend. Now where do I find the "control template of...RadTreeViewItem control" in order to change the color of the checkbox in C#?
0
Evgenia
Telerik team
answered on 21 Oct 2014, 11:08 AM
Hi William,

I believe this help topic will be descriptive enough for you to get to know how to extract our controls styles and/or templates in Expression Blend. You might search for CheckBoxElement inside RadTreeViewItem style and apply your custom checkbox style there. However I highly recommend that you use our implicit styles approach and merge System.Windows.Controls.xaml implicit style file where you will find the Checkbox style.

Regards,
Evgenia
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TreeView
Asked by
Gobi
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
William
Top achievements
Rank 1
Evgenia
Telerik team
Share this question
or