信用卡到期日期选择器 WP7
有人在 WP7 Mango 中实现了信用卡到期日期选择器吗?在 Mango 之前,我已经看到它是用 WP7 Contrib 完成的(并且能够在非 Mango 项目上实现它),但是它似乎不能与 Mango SDK 和 August Toolkit 更新一起正常工作。
有人对我如何实现这个有任何想法吗?我会使用普通的日期时间选择器,但是我不需要“日”选择,只需要月/年。我知道在他们使用工具包的日期时间选择器选择日期后,我可以限制字段中显示的内容,但我还没有找到隐藏实际日期选择器的方法。
Has anyone implemented a credit card expiration date selector in WP7 Mango? I've seen it done with WP7 Contrib prior to Mango (and was able to implement it on a non-mango project) however it doesn't seem to work right with the Mango SDK and the August Toolkit update.
Does anyone have any ideas on how I could implement this? I'd use the normal datetimepicker however I don't need the "Day" selection, just the Month/Year. I know I can limit what's shown in the field after they select a date with the toolkit's datetimepicker, but I haven't found a way to hide the actual day picker.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以自定义
DatePicker
以排除日期。 <一href="https://blogs.msdn.com/themes/blogs/generic/post.aspx?WeblogApp=delay&y=2010&m=09&d=21&WeblogPostName=there-are-很多方法来询问日期创建自定义日期选择器时间选择器体验很容易使用 Windows 手机工具包&GroupKeys = rel="nofollow">这篇博客文章解释了如何操作。请注意,它是在 Mango 之前编写的,因此您可能需要稍微尝试一下才能使其与 2011 年 8 月发布的工具包一起使用。但它应该作为一个良好的起点。You can customize the
DatePicker
to exclude the date. This blog post explains how. Note that it was written pre-Mango so you might have to play with it a little bit to get it to work with the August 2011 toolkit release. But it should serve as a good starting point.