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.
Related
I want to design my xaml user control in metro style and want to use controls like tiles etc which are missing from usual XAML toolbox. How do I use these controls ? Are there any packages or library which allows us with modern UI metro controls to be directly used with XAML ?
you cannot use native WinRT visual components in a WPF project. You will have to rely on custom controls/styles. You can do it by yourself or you can use some third party librairies like Open Source Modern UI for WPF or Materiel Design in XML or use commercial components set like DevExpress
Windows 7 has a new appearance for ToolBar control:
But my WinForms toolbar has the ugly classic gray
What do I have to do to make my ToolBar look like the first image
EDIT: I don't want to use gradients, I want to know if there's some P/Invoke (I use ToolBar instead of ToolStrip, 'cause ToolBar is nearer to native style controls than ToolStrip).
Disclaimer
THIS QUESTION HAD NO ANSWERS AND, NOW I USE C# INSTEAD OF VB.NET (My question about vb.net are outdated for me, because I use c# instead.
Toolbar control was replaced by ToolStrip control in Visual Studio 2010
You can follow this tutorial for creating a professionally styled ToolStrip Control
I just wanted to know that is there any control like treeview in WinRT XAML Toolkit for WindowsPhone 8.0
The TreeView doesn't conform to the design UI pattern used by the phone. You should rethink the UI so it won't require a treeview. (e.g. have a look at LongListSelector).
(... if you really must though there are some implementations like this one)
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.
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 ;)