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

Customizing TreeListView using our own theme

1 Answer 46 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Arinto
Top achievements
Rank 1
Arinto asked on 15 Feb 2011, 05:12 AM
Hi there, 

I follow this example to customize Rad component using custom theme (Telerik support also gave me the sample code)
http://www.telerik.com/help/wpf/common-styling-apperance-themes-custom-theme-project-telerik-approach.html

However, when I tried to do the same thing with TreeListView, the TreeListView formatting is not what I expected.
I included these xaml file from InstallationRootPath\Telerik\RadControls for WPF Q3 2010\Themes\Windows7\Themes\Windows7
  1. RadTreeListView.xaml
  2. TreeListViewRow.xaml
And modify Telerik.Windows.Control.xaml into this:
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <ResourceDictionary.MergedDictionaries>
        <!--Controls-->
        <ResourceDictionary Source="/MyTheme;component/Themes/Slider.xaml" />
        <ResourceDictionary Source="/MyTheme;component/Themes/RadTreeListView.xaml" />
        <ResourceDictionary Source="/MyTheme;component/Themes/TreeListViewRow.xaml" />
    </ResourceDictionary.MergedDictionaries>
</ResourceDictionary>

But, the resulting RadTreeListView is not as I expect. Do I miss some steps to configure RadTreeListView?
Here is the link to sample code given by Telerik support from another thread.

Regards, 

Arinto

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 15 Feb 2011, 03:36 PM
Hello Arinto,

 
Please find my answer in the following forum thread.

Kind regards,
Vanya Pavlova
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
TreeListView
Asked by
Arinto
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or