Download presentation
Presentation is loading. Please wait.
Published byJennifer Lester Modified over 9 years ago
3
Extend your app to multiple device families and use new capabilities by targeting the UWP
5
Windows 8.0 Minimal code update required Responsive UX Design/Implementation Windows 10
6
Windows Phone 8.1 Minor code updates for UWP APIs Design UX for multiple form factors Windows 10
7
Windows 8.1 Merge UX Refactor to single code-base & to target UAP APIs Windows 10 Windows Phone 8.1
8
*Silverlight on Windows Phone 8.1 can be a mix of Silverlight and WinRT APIs Windows Phone 7.5/7.8 Windows Phone 8.0 Windows Phone 8.1* Port the UI Silverlight -> Windows XAML Rewrite code to target UWP APIs* Design UX for multiple form factors Windows 10
12
Automates most of the upgrade steps – doesn’t do everything! Converts.csproj to UWP, updates package.appxmanifest Run directly in Powershell (needs script execute allowed), or execute Run_Upgrade_to_UWP.bat at cmd prompt
16
Scale Factors 100125150200250300400
18
See MSDN documentation for guidance on how to Move from Windows Runtime 8 to UWP: http://aka.ms/movefrom8touwp
21
this.Page.Loaded += (sender, e) => { #if WINDOWS_PHONE_APP Windows.Phone.UI.Input.HardwareButtons.BackPressed += HardwareButtons_BackPressed; #else // Keyboard and mouse navigation only apply when occupying the entire window if (this.Page.ActualHeight == Window.Current.Bounds.Height && this.Page.ActualWidth == Window.Current.Bounds.Width) { // Listen to the window directly so focus isn't required Window.Current.CoreWindow.Dispatcher.AcceleratorKeyActivated += CoreDispatcher_AcceleratorKeyActivated; Window.Current.CoreWindow.PointerPressed += this.CoreWindow_PointerPressed; } #endif };
24
var api = "Windows.Phone.UI.Input.HardwareButtons"; if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent(api)) { Windows.Phone.UI.Input.HardwareButtons.CameraPressed += CameraButtonPressed; }
29
Phone/narrow view small landscape view large landscape view
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.