在wpf中绑定资源文件时遇到困难。 [英] facing difficulty in binding resource file in wpf .
本文介绍了在wpf中绑定资源文件时遇到困难。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨我想创建aresource文件并绑定到标签内容
我做了什么我创建了一个文件夹名称Reource_Language
2)ad resorcefile.resx名称Resource.en_US.resx在此
现在我想将值绑定到标签内容
i想知道如何将它绑定到label。
hi i want to create aresource file and bind into content of label
what i have done i have created a folder name Reource_Language
2)ad a resorcefile.resx name Resource.en_US.resx in this
now i want to bind the value to content of label
i want to know how to bind it to label.
推荐答案
绑定应该看起来像
<label content="{DynamicResource AnmeldeName}" />
这篇关于在wpf中绑定资源文件时遇到困难。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文