Set RadTreeListView Theme

3 posts, 0 answers
  1. Fabiana
    Fabiana avatar
    69 posts
    Member since:
    Oct 2009

    Posted 25 Nov 2009 Link to this post

    Hello Support!!

    I have one question: I inserted a RadTreeListView and RadComboBox into Grid. As you can see, I configured theme telerik:StyleManager.Theme="Summer"
    In RadComboBox, this theme is ok, but in RadTreeListView the theme not changed! Why? Is there another way to set theme to RadTreeListView  control ?






    <UserControl x:Class="SilverlightApplication1.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
        mc:Ignorable="d"
        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
        xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
        d:DesignHeight="340" d:DesignWidth="800">

        <Grid x:Name="LayoutRoot" Background="White">




            <telerikNavigation:RadTreeListView IsLineEnabled="True" IsEditable="True" telerik:StyleManager.Theme="Summer"
                                x:Name="RadTreeListView1" Background="White" Margin="70,12,42,144"
                                BorderBrush="#a9a9a9" BorderThickness="1" SelectionMode="Multiple"                                                         IsExpandOnSingleClickEnabled="True" IsExpandOnDblClickEnabled="False" IsLoadOnDemandEnabled="False">

                <telerikNavigation:RadTreeListView.Columns>
                    <telerikNavigation:RadColumn PropertyName="Name" Header="Hierarchy">
                        <telerikNavigation:RadColumn.CellTemplate>
                            <DataTemplate>
                                <TextBlock Text="" VerticalAlignment="Center"/>
                            </DataTemplate>
                        </telerikNavigation:RadColumn.CellTemplate>
                    </telerikNavigation:RadColumn>
                </telerikNavigation:RadTreeListView.Columns>
                
            </telerikNavigation:RadTreeListView>
        

        
            
            <telerikInput:RadComboBox Margin="296,0,338,61" VerticalAlignment="Bottom" Height="40"      telerik:StyleManager.Theme="Summer">
                <telerikInput:RadComboBoxItem Content="Item 1" />
                <telerikInput:RadComboBoxItem Content="Item 2" />
            </telerikInput:RadComboBox>




        </Grid>
    </UserControl>
  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 26 Nov 2009 Link to this post

    Hi Fabiana,

    We apologize , but RadTreeListView Theme have only Window7 theme ,because It is a CTP control . When we release the official version, then the RadTreeListView will have all themes (Office_black, Office_Blue, Office_silver, Vista and Summer).  

    Greetings,
    Dimitrina
    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.
  3. DevCraft banner
  4. Fabiana
    Fabiana avatar
    69 posts
    Member since:
    Oct 2009

    Posted 26 Nov 2009 Link to this post

    Ok, Thanks!

Back to Top