Highlighted and disabled control brushes for RadTreeViewItems of databound RadTreeView

2 posts, 1 answers
  1. Julian
    Julian avatar
    16 posts
    Member since:
    Mar 2009

    Posted 14 Apr 2009 Link to this post


    I'm using 2009 Q1 WPF RadControls,
    How would I achieve the same functionality for my RadTreeView that the following code would perform for WPF TreeViews?

            <Style TargetType="{x:Type TreeViewItem}">
                    <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="#ffa7cdf0"/>
                    <SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="#ffa7cdf0"/>

    In other words, how would I change the style (colour in this case) of the Highlight brush of TreeViewItems from golden to something else? Also, please show me how to change the inactive (i.e. highlight colour when focus is lost) colour.

    Many thanks

  2. Answer
    Dimitrina avatar
    442 posts

    Posted 15 Apr 2009 Link to this post

    Hello Julian Borthwick,

        Please find attached a project  and a sample .docx file that demonstrates how to edit styles in Blend.
        I hope that this will help you.
    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top