Theme not appearing in TabControl

2 posts, 0 answers
  1. Jeff Ballard
    Jeff Ballard avatar
    2 posts
    Member since:
    Nov 2009

    Posted 29 Mar 2010 Link to this post

    I'm trying to get the RadTabControl example here

    http://www.telerik.com/help/silverlight/radtabcontrol-getting-started.html

    to work using the Q1 2010 Silverlight controls with Silverlight 4.  When I get to the part about adding the theme, I add the xaml shown, but the theme never shows.

    The xaml in MainPage.xaml is below.

    Am I missing something obvious?

    Thanks,

    Jeff

    <UserControl 
        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" x:Class="TestTelerikTabControl.MainPage" 
        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 
        mc:Ignorable="d" 
        d:DesignHeight="300" d:DesignWidth="400"
     
        <Grid x:Name="LayoutRoot" Background="White"
     
            <telerikNavigation:RadTabControl Margin="8" telerik:StyleManager.Theme="Summer"
                <telerikNavigation:RadTabItem Header="Calendar"/> 
                <telerikNavigation:RadTabItem Header="Colors" IsBreak="True"/> 
                <telerikNavigation:RadTabItem Header="Quote"/> 
            </telerikNavigation:RadTabControl> 
     
        </Grid> 
    </UserControl> 




  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 29 Mar 2010 Link to this post

    Hello Jeff Ballard,

    I suppose that you forgot to add reference to Telerik.Windows.Themes.Summer.dll. Please find attached an working example.

    If you have further questions please do not hesitate to ask us.

    I hope this will help you.

    Greetings,
    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.
  3. DevCraft banner
Back to Top