使用Telerik StyleMananger 改变Silverlight Button样式
2020-12-13 01:39
阅读:370
标签:style blog class code java tar
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
|
xmlns:x= "http://schemas.microsoft.com/winfx/2006/xaml"
x:Class= "TestDemo.App"
>
|
在后台程序中修改,其中红色是需要添加的代码

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样式,搜素材,soscw.com
使用Telerik StyleMananger 改变Silverlight Button样式
标签:style blog class code java tar
原文地址:http://www.cnblogs.com/ZJ199012/p/3709657.html
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:使用Telerik StyleMananger 改变Silverlight Button样式
文章链接:http://soscw.com/index.php/essay/23977.html
文章标题:使用Telerik StyleMananger 改变Silverlight Button样式
文章链接:http://soscw.com/index.php/essay/23977.html
评论
亲,登录后才可以留言!