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

Setting Theme form Menu oand Other Controls

1 Answer 86 Views
Menu
This is a migrated thread and some comments may be shown as answers.
mvbaffa
Top achievements
Rank 1
mvbaffa asked on 14 Mar 2009, 09:33 PM
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

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 16 Mar 2009, 09:06 AM
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.
Tags
Menu
Asked by
mvbaffa
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or