所以我有一个图书馆,里面放着我所有的图片。这对于我的WinForms控件来说很好;但是,我在WPF中很难使用这个类库的资源。
MyApp.Resources //Is my control library project.
Resources //Is the folder that contains all my images at the root of the project.如何从类库引用WPF控件中的图像?
我尝试过的:
<ImageBrush ImageSource="/MyApp.Resources;Resources/manage.png" />--用户控制属性
Resources="pack://application:,,,/MyApp.Resources;Resources.resx">发布于 2012-05-18 16:36:12
中使用您的图像
https://stackoverflow.com/questions/10655471
复制相似问题