标签:style blog color io strong 文件 div cti 代码
1. Image的Source设定,引用的图片文件在其他的dll中。图片的Build action : Resource
如果是直接写:
Source="/MyProject.Resources;Component/Images/Icon.gif"
如果是binding
Source="{Binding Path=Path}" // code behind: Path = "pack://application:,,,/MyProject.Resources;component/Images/Icon.gif";
标签:style blog color io strong 文件 div cti 代码
原文地址:http://www.cnblogs.com/mantian/p/3939383.html