Is there no DatePicker for xaml in Windows 8 Metro? - xaml

According to this tutorial, the DatePicker control is definitely present in the Javascript for Windows 8 Metro. So far I could not find it for the c#/xaml stack. Does anybody know if it is there and if not - if it will be available in the future?

No, there is no built-in DatePicker usable from XAML in the Windows 8 Developer Preview.

You can also inspect our pack of Windows 8 controls (I'm sorry for this ad, but it seems to be relevant to the question)

Telerik however have controls, including a datepicker in their Windows 8 offering: http://www.telerik.com/products/windows-metro/controls/chart.aspx

There is no built in datepicker for XAML, but there I found one here:
http://www.irisclasson.com/2012/07/19/example-metro-app-winrt-homemade-chart-and-datepicker-for-metro-apps/
that you can use if you cant afford Telerik ;)

Related

Windows Phone 8.1 XAML: Pull down to refresh

I have been a lot of time looking an way to do "pull down to refresh" in a ScrollViewer or a ListBox, ListViewer... whathever.
The problem is that there is no way to do that in Windows 8.1, I've find some solutions for W7 or even W8, but not for W8.1, and no, there's no way to adapt that jobs to W8.1.
Any knows any way to do this behaviour?
Thank you.
This page helped me http://iwindroid.me/tag/windows-phone-8-1-rt/
I could not compile the one suggested by Ateik. Would be fine if solving the problems, it looks promising but at the moment it has some errors: Syntax Error found in XBF generation
The only working solution I found is using Teleriks RadDataBoundListBox: http://www.telerik.com/windows-universal-ui/databoundlistbox
I've created a simple control that implements the "Pull to refresh" feature, and the "Load data on demand", you can find it in nuget, read about it from this blog post. Works on both Windows 8 & Windows Phone 8.1

Windows Store app - Grid app with different items

I have to do a Windows Store application in XAML and C#, and the "Grid app" template is almost exactly what I need...
The problem is that this template displays same items, divided in groups.
For my app, I would like to do exactly the same thing but for different type of items instead and have a different details page for each type of item...
This is my first app and I don't manage to do it... How can I do it easily ?
The new "Hub" control of Windows 8.1 would be really perfect, But I can't work with Visual studio 2013 and Windows 8.1... :
http://mikaelkoskinen.net/winrt-xaml-hub-control-getting-started-tutorial-semanticzoom/
Thanks
I finally found the solution.
I had to use a TemplateSelector :
http://channel9.msdn.com/Series/Migrating-apps-from-Windows-Phone-to-Windows-8/Custom-Styling-in-Windows-Store-Apps

What can i use as a ComboBox alternative for Windows Phone development? (vb)

I've been thoroughly looking for a combobox alternative to use for Windows Phone development for a full 24 hours now. The best i've found so far was this
,which is perfectly fine, but i'm really looking for something to work with in Vb.net.
PS: I'm using Visual studio 2010 as my code editor
Anticipated thanks :)
The List Picker is the best alternative to a ComboBox.
You can get the List Picker by installing the Toolkit update: http://silverlight.codeplex.com/releases/view/55034
It doesn't matter whether you use VB or C#. The Listpicker is basically a control in XAML, in the design view.
The only difference would be the Databinding syntax in your code view.

Where is the date picker in WinRT XAML?

I see the date picker control in WinRT JavaScript/HTML5. Where is that control for XAML?
The best one I've found (complete with templating and xaml friendly formatting options) is:
https://github.com/jasonmitchell/WinRT-XAML-DatePicker
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
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 ;).
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
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
Syncfusion's WinRT Studio (Beta) includes a very, very good DatePicker and it's free to use.
http://www.syncfusion.com/products/winrt
You can find the following control that looks like the same as the javascript one:
https://mytoolkit.codeplex.com/SourceControl/changeset/view/25356#181302.

Metro XAML - Where Is LayoutTransform ?

Im authoring some Windows 8 Metro template (custom) controls and there doesnt seem to me any LayoutTransform properties on anything.
this is a real pain, as I want to rotate some text 90 desgrees, but the grid is sizing to the size of the text before the rotation.
Does anyone have an idea on how to fix this without writing lots of hacks ?
Dean
I modified the Silverlight toolkit version and published it here
Layout transform in Windows 8 XAML
LayoutTransform was gone in Silverlight too. (IMHO) I guess maybe it was usually overused or abused in WPF causing performance issues, so for better perception of the framework - it was never added to Silverlight and by extension - to WinRT.
There seems to be a workaround for that in the Silverlight Toolkit that should be easy to port - check the LayoutTransformer control. I have never used it, but it sounds like what you need.
*Edit 2017-04-24
There's a LayoutTransformControl in WinRT XAML Toolkit you could use.