WinJS – how to create your own control !

added by jmix90
3/9/2012 9:25:21 AM

2 Kicks, 278 Views

WinJS comes with several controls out of the box : Listview, FlipView, SemanticZoom, DatePicker, Flyout, etc… Although they are really powerful and useful, they do not cover all needs and it’s time for us (the community) to provide some other controls. In this post we’ll see how this can be done. Don’t worry it’s in fact really easy and straightforward.


2 comments

dpeterson
3/9/2012 9:24:54 AM
Is there any sort of support for working with XAML controls from WinJS? I'm still pretty green on the new Metro stuff, I'm not even sure if WinJS is used for "desktop" apps or not to be honest.

jmix90
3/9/2012 9:27:04 AM
WinJS is Javascript and XAML works with C#. You can deport some component (logic for example) in WinRT assembly but you can not use javascript in XAML or the opposite... sorry :)