Telerik 支持更改以下控件样式
需要在App.Xaml中的修改,红色是添加的代码
| 1 2 3 4 5 6 7 8 9 | <Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"             <span style="color: rgb(255, 0, 0);">xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"</span>             x:Class="TestDemo.App"             >    <Application.Resources>       <span style="color: rgb(255, 0, 0);"> <Style TargetType="Button"/></span>    </Application.Resources></Application> | 
在后台程序中修改,其中红色是需要添加的代码
public App() { this.Startup += this.Application_Startup; this.Exit += this.Application_Exit; this.UnhandledException += this.Application_UnhandledException; StyleManager.ApplicationTheme = new Windows7Theme(); InitializeComponent(); StyleManager.SetBasedOn(((Style)Current.Resources[typeof(Button)]), StyleManager.ApplicationTheme); }
使用Telerik StyleMananger 改变Silverlight Button样式,布布扣,bubuko.com
使用Telerik StyleMananger 改变Silverlight Button样式
原文:http://www.cnblogs.com/ZJ199012/p/3709657.html