for*_*yez 10 .net c# silverlight styles
我想自定义一个外观TextBlock.(我希望它周围有一个圆角矩形边框.)但我希望能够通过文件设置其模板app.xaml.
TextBlock
app.xaml
但我发现TextBlock没有Template属性.我使用Label(它有一个Template属性),但我猜Silverlight不支持Label控件.
Template
那么我可以用它做什么呢?
Pra*_*ana 9
我发现这个圆形边框文字框的解决方案之一可以在Scott Guthrie的文章中找到:
http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-4-using-style-elements-to-better-encapsulate-look-and-feel.aspx
归档时间:
15 年,6 月 前
查看次数:
5149 次
最近记录:
14 年,8 月 前