WPF中没有DateTimePicker [英] Do not have DateTimePicker in WPF

查看:213
本文介绍了WPF中没有DateTimePicker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在WPF中找到DateTimePicker控件,但找不到.关于如何将DateTimePicker插入xaml的任何想法?

I tried to find a DateTimePicker control in WPF but it cannot be found. Any idea on how can I insert a DateTimePicker into xaml?

推荐答案

您可以使用 WPF工具包/ [ ^ ]

希望对您有所帮助:)
You can go for the WPF toolkit/[^]

hope it helps :)


好吧,最好不要尝试使用System.Windows.Forms.DateTimePicker.这是可能的,但过于复杂.这些库具有根本不同的性质(GDI +与DirectX,与Windows API无关).

最好看一下这两个:
http://datetimepickerwpf.codeplex.com/ [ ^ ],
http://www.c-sharpcorner.com/uploadfile/mahesh/wpf-datetimepicker/ [ ^ ].

祝你好运,
—SA
Well, better don''t try to use System.Windows.Forms.DateTimePicker. It''s possible but overcomplicated. These libraries have fundamentally different nature (GDI+ vs. DirectX, which has very little to do with Windows API).

Better look at these two:
http://datetimepickerwpf.codeplex.com/[^],
http://www.c-sharpcorner.com/uploadfile/mahesh/wpf-datetimepicker/[^].

Good luck,
—SA


这篇关于WPF中没有DateTimePicker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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