Windows Phone開發須要瞭解的背景

在Windows Phone8.1以前,Windows Phone應用是基於Silverlight的,這些代碼也不能在Windows上運行,從Windows Phone8.1開始,開發者多了一個選擇,就是能夠開發Univeral的應用,也就是一份代碼,既能夠在Windows上運行,又能夠在Windows Phone上運行。其實就是Windows Phone增長了Windows Runtime,而系統庫的設計考慮了Phone的UI。因此以前的App叫作Windows Phone Silverlight App,如今叫Windows Phone WRT App。Silveright App一時半會也不會被取消,因此你們依然能夠放心開發Silverlight的應用,但若是你想在Windows上運行,那也許就該考慮一下WRT了。下面這篇文章作了介紹windows

http://blogs.windows.com/buildingapps/2014/12/17/bring-your-windows-phone-silverlight-apps-to-windows-runtime-xaml-prepare-for-universal-app-development-in-windows-10/app

Window Phone Silverlight App 普遍使用Panorama 或者Pivot,WRT沒有提供Panorama,可是提供了Hub,根據文章http://msdn.microsoft.com/en-US/library/windows/apps/dn800286.aspx(這個文章列舉了Sivlerlight和WRT 經常使用類的mapping,因此若是有什麼概念搞不清楚,能夠在這裏找找看), Hub就至關於Panorama。ui

Windows Phone上經常使用的Control有:Panorama(Silverlight), Pivot(WRT and Silverlight), Hub(WRT, can be universal), WebView(WRT)等。須要根據應用的須要選擇合適的Control。設計

相關文章
相關標籤/搜索