WPF中的资源引用心得
时间:2016-11-14 01:44:25
收藏:0
阅读:151
1.引用内部资源:
<ImageBrush ImageSource="pack://application:,,,/FFK.Styles;component/images/tabout.png"></ImageBrush>
2.引用指定目录资源
<ImageBrush ImageSource="pack://SiteOfOrigin:,,,/images/tabout.png"></ImageBrush>
3.资源类型为content 则资源不会被打包在程序中
4.资源类型为resource,则资源会被打包在程序中
原文:http://www.cnblogs.com/HuiLove/p/6060441.html
评论(0)