Telerik 支持更改以下控件样式
- System.Windows.Button
- System.Windows.ScrollViewer
- System.Windows.CheckBox
- System.Windows.TextBox
- System.Windows.RadioButton
- System.Windows.ListBox
- System.Windows.PasswordBox
- System.Windows.RepeatButton
- System.Windows.Tooltip
需要在App.Xaml中的修改,红色是添加的代码
?
1 2 3 4 5 6 7 8 9 |
|
在后台程序中修改,其中红色是需要添加的代码
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
时间: 2024-08-15 02:44:14