开发者

Image Source property, binding to image in Resources.resx file in XAML, how to?

开发者 https://www.devze.com 2023-03-27 00:18 出处:网络
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=\"{Bindi

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={Static开发者_Python百科Resource LocalizedStrings}}")?

Is it possible to use this same method for Image source?

0

精彩评论

暂无评论...
验证码 换一张
取 消