Setting Theme form Menu oand Other Controls

2 posts, 0 answers
  1. mvbaffa
    mvbaffa avatar
    102 posts
    Member since:
    Dec 2006

    Posted 14 Mar 2009 Link to this post

    Hi,

    How can I change the theme for Menu and Other Controls. I have downloaded the trial version and could not find in documentation anything.

    Thanks in advance
  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 16 Mar 2009 Link to this post

    Hello Marcus,

    You can read about Application themes from here:
    http://www.telerik.com/community/forums/silverlight/general-discussions/apply-themes-on-radcontrols-q1-2009.aspx#766512

    If you want to apply theme only to RadMenu (and its RadMenuItems) then you can use the StyleManager.Theme="Vista" attached property:
    <UserControl x:Class="SilverlightDockingDemo.Page51"    
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"      
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"    
        xmlns:nav="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"    
        Width="400" Height="300">     
       <Grid>    
          <nav:RadMenu telerik:StyleManager.Theme="Vista" />    
       </Grid>    
    </UserControl>    
     

    Let me know if you need more information.

    All the best,
    Hristo
    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.
  3. DevCraft banner
Back to Top