WPF 中的 DateTimePicker 控件
我正在寻找一个可以用作文本框的 DateTimePicker 控件,以便用户可以随意输入日期/时间数据(即;输入字符串“11/09/2008 12:30:00”) 或者可以从包含日历/时间框的下拉列表中选择日期/时间(我的意思是该控件可以提供上述两个选项)。 如果您找到了如此灵活的控件(而且也是免费的),请向我提供获取它所需的信息。
I am searching for a DateTimePicker control which can be used as a textbox so user can enter date/time data at will (ie; type in the string "11/09/2008 12:30:00") or can select date/time from a drop down list that contains a calendar/time box (what i meant is that this control can provide both options as mentioned). If you have found such a flexible control (and free too) please give me the needed information to obtain it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
看一下这个 WPF 日期选择器问题。
干杯
Have a look at this WPF Date Picker question.
Cheers
Telerik 有一个不错的 DateTimePicker 控件,但它不是免费的。
Telerik has a decent DateTimePicker control but it's not free.
老问题,但对于任何感兴趣的人...扩展 WPF Toolkit™ 社区版是免费的(也有高级选项)并包含 DateTimePicker 我发现它在 WPF 中非常有用!
Old question, but for anyone interested... Extended WPF Toolkit™ Community Edition is free (also has a premium option) and contains a DateTimePicker which I have found to be very useful in WPF!
我不确定你是否不想使用JQuery或者不知道它。 但这是来自 JQuery 的免费/开源日期时间选择器,它完全符合您的要求对于,还有更多。
I am not sure whether you don't want to use JQuery or not aware of it. But here is this free/open source date time picker from JQuery which does exactly what you are looking for, plus lot more.
有 DatePicker 和 Calendar 控件 WPF 团队,但我不相信他们处理时间(如您的示例中所示)- 只是日期。 不过值得一看。
There's the DatePicker and Calendar controls from the WPF team, but I don't believe they handle times (as in your example) - just dates. Worth a look though.