Image Source属性,在XAML中绑定到Resources.resx文件中的图像,如何?
我有一个 Resources.resx 文件,其中包含本地化字符串和本地化图像。如何将图像绑定到 XAML 中的属性,类似于完成本地化字符串的方式(即 Text="{Binding Path=Resources.ApplicationTitle, Source={StaticResource LocalizedStrings}}")?
是否可以对图像源使用相同的方法?
I have a Resources.resx file, which contains localized strings and also localized images. How do I bind an image to a property in XAML similar to the way a localized string is done (i.e., Text="{Binding Path=Resources.ApplicationTitle, Source={StaticResource LocalizedStrings}}")?
Is it possible to use this same method for Image source?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论