将自定义的可本地化文本设置为绑定的TargetNullValue属性 [英] Set custom localizable text to TargetNullValue property of binding

查看:51
本文介绍了将自定义的可本地化文本设置为绑定的TargetNullValue属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

解决方案

您好,Sasa,

您应该使用ResourceManager在.resx中获取资源文件并将其值设置为Binding对象的TargetNullValue属性.以下是来自MSDN的示例:
http://msdn.microsoft.com/zh- us/library/ms771549.aspx

希望有帮助.

此致,
Linda Liu


Hello,

解决方案

Hi Sasa,

You shoud use ResourceManager to get resource in the .resx file and set the value to the TargetNullValue property of the Binding object. The following is a sample from MSDN:
http://msdn.microsoft.com/en-us/library/ms771549.aspx

Hope this helps.

Sincerely,
Linda Liu


这篇关于将自定义的可本地化文本设置为绑定的TargetNullValue属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆