Microsoft WPF 功能区日历/DatePicker 控件
我正在寻找有关如何将日历/日期选择器控件放入 WPF 功能区的信息。以前有人这样做过吗?实现这一点的最佳方法是什么?
I am looking for information on how to put a calendar/datepicker control into a WPF Ribbon. Has anyone done this before? What is the best way to implement this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
MS 认为不值得在功能区中添加日历。无论如何,我认为这没有多大好处。话虽如此,有这样的控制还是不错的。这应该有帮助
http:// /chandoo.org/forum/threads/ribbon-datepicker-calendar-control-for-excel-2007-2010.12150/#post-71159
MS didn't think it was worth adding a calendar in the ribbon. I don't think it was much advantageous anyway. Having said that, it is good to have such a control. This should help
http://chandoo.org/forum/threads/ribbon-datepicker-calendar-control-for-excel-2007-2010.12150/#post-71159
Ribbon 控件集没有可用的 DatePicker 或 Calendar 控件。
但是您可以向其中添加 WPF dataPicker 控件,但它看起来会很奇怪。我不知道为什么你需要在那里添加 Calendar 或 DatePicker 控件。
功能区通常适用于命令。
There is no DatePicker or Calendar control available with Ribbon controlset.
But you can add the WPF dataPicker control to it, but it will look odd there. I dont know why you need to add a Calendar or DatePicker control there.
Ribbons are generally suited for commands.