Where is the date picker in WinRT XAML?

2020-03-12 04:04发布

问题:

I see the date picker control in WinRT JavaScript/HTML5. Where is that control for XAML?

回答1:

Note that Win 8.1 includes built-in XAML controls for DatePicker, TimePicker. So if you retarget your project to target Win 8.1 you will now get these controls.

retargeting: http://msdn.microsoft.com/en-us/library/windows/apps/dn263114.aspx



回答2:

The best one I've found (complete with templating and xaml friendly formatting options) is:

https://github.com/jasonmitchell/WinRT-XAML-DatePicker



回答3:

There is no date picker control in the standard Windows 8.0 toolbox. However, look at the Callisto for many handy WinRT XAML controls, including the date picker control. https://github.com/timheuer/Callisto



回答4:

You can inspect our package of WinRT components. It contains date picker component as well as a lot of other UI components: radial and plain menus, color picker, rating controls and so on. And it's totally free btw ;).



回答5:

At the moment, there isn't a official control for datetime picker in XAML. but it seem that microsoft will be coming up with one in the future. msdn



回答6:

Syncfusion's WinRT Studio (Beta) includes a very, very good DatePicker and it's free to use.

http://www.syncfusion.com/products/winrt



回答7:

You can find the following control that looks like the same as the javascript one: https://mytoolkit.codeplex.com/SourceControl/changeset/view/25356#181302.