[英]Nullable value in a WindowsRT DatePicker (8.1)
I can't seem to get anything working with a simple XAML project that has the DatePicker accepting a nullable value and therefore the Date/Month/Year boxes are showing this text as placeholder. 我似乎无法在具有DatePicker接受可为空值的简单XAML项目中使用任何东西,因此Date / Month / Year框将此文本显示为占位符。
Can anyone help? 有人可以帮忙吗? I've found very little from other people on the web about this! 我从网上其他人那里发现的东西很少!
thank you 谢谢
The datepicker does not accepts null values. 日期选择器不接受空值。 Have a converter to check if the date passed is null,if yes hide the content. 让转换器检查传递的日期是否为空,如果是,则隐藏内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.