Friday, April 24, 2015

Windows 10 Universal App ( UAP) Styles

Thanks Raiford and Rob. But as per blogs, windows 10 has builtin capability to adjust based on screen size. But I don't see it happening. For example  : If there is text block of size 14 , it should be displayed as 14 in Windows tablet and same on phone. I see font become bigger in size in windows phone. How can I make use of adaptive triggers to set Phone style when application is running in phone. Do I need to change for each and every control in page using adaptive trigger. Is there any other way of resolving style. Like I wil have 2 style one for Windows and one for Phone. based on device, it should pickup style key from either Windows or windows phone. But I cant have 2 same keys in 2 Resource dictionary. is there simple way of setting style based on device and screen mode  sizes

Adaptive UX: Windows 10 provides the ability to use a single UI that can adapt from small to large screens. For developers with an existing Windows 8.1 app, you can quickly try this one out by (a) removing one of your UI projects (and going from three Visual Studio projects to one!) and (b) add the improved ViewStateManager to control how your UI adapts at runtime.

  • User controls: A number of our Windows 10 UI controls will determine, at runtime, how the customer is interacting with your app and render the appropriate user experience (e.g. on a laptop with a touch-screen, an app fly-out control will provide larger touch-targets if tapped with touch, as opposed to clicked with a mouse).

No comments:

Post a Comment