RadTreeView Item Check box highlight style color

4 posts, 0 answers
  1. Gobi
    Gobi avatar
    1 posts
    Member since:
    Apr 2011

    Posted 29 Apr 2011 Link to this post

    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.
  2. Dimitrina
    Dimitrina avatar
    442 posts

    Posted 04 May 2011 Link to this post

    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,
    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
  3. William
    William avatar
    1 posts
    Member since:
    Mar 2014

    Posted 16 Oct 2014 Link to this post

    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#?
  4. Evgenia
    Evgenia avatar
    1437 posts

    Posted 21 Oct 2014 Link to this post

    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.


    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.

Back to Top