如何本地化WPF 4.0 DatePicker控件 [英] How to localize the WPF 4.0 DatePicker control
本文介绍了如何本地化WPF 4.0 DatePicker控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当您清除新的WPF 4.0 DatePicker控件上的框时,显示选择日期
When you clear the box on the new WPF 4.0 DatePicker control it shows "Select a date"
有没有办法本地化文本?
推荐答案
不幸的是,设置水印文本有点棘手。
Unfortunately, setting the watermark text is a bit tricky.
在本文中可以看到如何完成:更改DatePicker控件中的水印文本
How it can be done you can see in this article: Changing the watermark text in a DatePicker control
这篇关于如何本地化WPF 4.0 DatePicker控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文