限制日期时间选择器日期禁用未来日期
问题描述:
有没有办法限制DateTime Picker控件不显示大于当前日期的日期,因此不会选中它们。我注意到其他Windows设备似乎有一个MaxDate属性似乎不适用于Windows手机这是正确的
如果有任何建议如何实现这一点。
Is there a way to limit a DateTime Picker control to not display Dates greater than the current date so they are not selected. I noticed for other windows devices there appears to be a MaxDate Property doesn't seem to work for windows phone is this correct if so any suggestions on how to achieve this.
谢谢
B
答
我认为只有最大年份属性不是最大日期
I think there is only a max year property not a max date