Posted May 10, 201212 yr FPCH Admin When learning a new development platform I always find some hurdles getting my app working just the way I want it to. Like me, many of you have used our forums to get answers to the issues you run into. For this post we selected some of the most popular forum topics to highlight and provide more resources to help keep you coding. App settings and data, applying consistent colors and styles, designing for multiple languages and cultures, and Animating Metro style controls were all highly posted, viewed and replied topics. For each topic I selected resources and put them in a table. Each table is organized with quickstarts on top, SDK samples next, and in-depth documentation last. Quickstarts are a great place to start because they contain explanations and code snippets that provide the background that helps you understand the API design. SDK samples provide a deeper dive, and are a great place to start if you know what you need to do, but you just need to see an example to get started. Docs are there if you need the deepest dive use these when you want to understand the full capability of some feature you’re already familiar with. App settings and data [/b] Link Type Highlights Managing application data ([url=http://msdn.microsoft.com/en-us/library/windows/apps/Hh465109(v=win.10).aspx" target="_blank">HTML, Applying consistent colors and styles[/size] [url=http://social.msdn.microsoft.com/Forums/pl/winappswithcsharp/thread/a428be57-e76d-404c-be15-8c6105ea217c" target="_blank">“How can I change the color of the background of the GridViewItem when it's selected…?” Many developers have posted questions about how to customize apps, controls, and tiles. This section provides info about leveraging the built-in styles as well as how to create your own custom look and feel. Windows 8 has APIs that make it simple to choose between light and dark theming, to use high contrast colors for readability, and to create custom color themes for Metro style apps. Metro style apps support high contrast color schemes by default. When a user switches to a high contrast theme in Settings, apps using built in styles automatically switch to system-defined high contrast colors. Windows 8 apps are afforded the full screen, immersing the user in your app. Users will become familiar with your brand as they spend time with the colors and styles that you use consistently throughout your app. These resources provide info on styling your apps using whatever colors and styles define your brand. Theming resources Link Type Highlights [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465381.aspx" target="_blank">Quickstart: styling controls (XAML) Quickstart Creating and deriving from styles, implicit/explicit styles, and control templates. [url=http://msdn.microsoft.com/en-us/library/windows/apps/Hh465498(v=win.10).aspx" target="_blank">Quickstart: styling controls (HTML) Quickstart Styling HTML controls. Includes CSS and HTML code snippets, and info on the CSS pseudo-elements and the HTML parts that are specific to metro style apps. [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465048.aspx" target="_blank">Quickstart: Using brushes (XAML) Quickstart Brushes, shapes, and effects. [url=http://code.msdn.microsoft.com/windowsapps/Theme-roller-sample-64b679f2" target="_blank">Applying app theme color (HTML theme roller) Sample This ‘theme roller’ helps you build and test a custom app color scheme and shows how to use chosen colors in your apps. [url=http://code.msdn.microsoft.com/windowsapps/High-Contrast-b36079d8" target="_blank">CSS styling for high contrast mode Sample CSS media queries for detecting high contrast mode, and custom high contrast styles. [url=http://code.msdn.microsoft.com/windowsapps/Basic-Media-Playback-662f1a7d">XAML high contrast style sample Sample Demonstrates how to support high contrast colors for custom-built app themes and styles. [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh452681.aspx" target="_blank">Building an accessible Metro style app with JavaScript Docs Includes accessibility requirements and checklists and info on Supporting [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh700340.aspx">high contrast themes . [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh452680.aspx" target="_blank">Accessibility in Metro Style Apps (XAML) Docs Info on high contrast theme support and other accessibility issues. Designing for multiple languages and cultures [url=http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/ed8f19a3-945d-47b6-9c87-3819ee7c2bc6" target="_blank">“What's the best way to create a multi-language app?” We’ve introduced new localization resources tools for Windows 8, and we’ve seen many questions about localization and globalization. Our new localization resources format is similar to some of our previous offerings, but was designed to be common across programming languages. The resources here will help you make decisions on globalization/localization factors as you [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465405.aspx" target="_blank">plan for a global market. The Windows Store can put your apps in front of a global audience. Customers will be more likely to download and use the apps in their language. The [url=http://blogs.msdn.com/b/windowsstore/archive/2012/04/18/windows-store-expanding-to-new-markets.aspx" target="_blank">Windows Store for developers blog recently announced additional global coverage including new languages, and new markets for submitting and buying apps. Regardless of the [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh694064.aspx" target="_blank">Windows Store markets you make your app available to, your app must meet [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx" target="_blank">Certification requirements for Windows apps. Make sure that your app is [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx#acr_5_0" target="_blank">appropriate for a global audience and that your app name is unique across the Windows Store catalog. Decide in which languages you will [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx#acr_6_3" target="_blank">provide technical support. Localization resources Link Type Highlights [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh771181(v=win.10).aspx" target="_blank">Quickstart: Make your Metro style app world ready (XAML) Quickstart Resource file examples and code snippets. [url=http://msdn.microsoft.com/en-us/library/windows/apps/Hh465021(v=win.10).aspx" target="_blank">Quickstart: Designing a globalized Metro style app (HTML) Quickstart Resource file examples and code snippets. [url=http://code.msdn.microsoft.com/windowsapps/Application-resources-and-cd0c6eaa" target="_blank">Application resources and localization Sample App sample for creating apps for multiple languages. [url=http://msdn.microsoft.com/en-us/windows/apps/hh848309" target="_blank">Multilingual App Toolkit Toolkit The toolkit can help translate your app’s resources, and the pseudo language engine can help you test your app’s global readiness even if you don’t know any foreign language. [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh465001.aspx" target="_blank">Designing for globalization and localization Docs Best practices for creating localized apps. Animating Metro style controls [url=http://social.msdn.microsoft.com/Forums/en-US/winappswithnativecode/thread/1f76ffb4-7a49-4f06-a673-d99afbeee999" target="_blank">“The animation of show Edge UI is very cool. How to implement in C++?” Many developers have asked us questions about how they can add Metro Style animations to their apps. Animations bring your apps to life, and Windows 8 introduces a library of animations accessible to Metro Style Apps that weaves a thread of common personality through all apps that use it. Additional animation support from CSS and XAML allow developers to port animations from previous projects or to create custom animations for brand new apps. If you haven’t already, check out our blog post on [url=http://blogs.msdn.com/b/windowsappdev/archive/2012/05/01/fast-and-fluid-animations-in-your-metro-style-app.aspx">Fast and fluid animations in your Metro style app. This post goes in depth on how we built Windows 8 to ensure animations would be consistent and smooth, and provides code-samples and descriptions to get you started. Animation resources Link Type Highlights [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh452703" target="_blank">Quickstart: Animating your UI Quickstart Porting animations from Silverlight/WPF, provides code samples, explanations and links to documentation and a video of some common animations. Animations library ([url=http://code.msdn.microsoft.com/windowsapps/Personality-Animations-3f857919" target="_blank">XAML, [url=http://code.msdn.microsoft.com/windowsapps/Using-the-Animation-787f3720" target="_blank">HTML) Sample Animation Library APIs give you access to the same animations used throughout Windows UI and other Metro Style apps, giving your app that built-in look and feel. Includes animations like PopInAnimation. [url=http://code.msdn.microsoft.com/windowsapps/Independent-animations-app-c00b2962" target="_blank">HTML Independent Animations Sample CSS 2D and 3D transitions, transforms and animations in a Metro Style app. [url=http://code.msdn.microsoft.com/windowsapps/Flyout-sample-258757b3" target="_blank">HTML flyout control sample Sample Shows the HTML Flyout control’s default animation on show. [url=http://code.msdn.microsoft.com/windowsapps/Animation-metrics-sample-acb0220c" target="_blank">Animation metrics sample (XAML) Sample Shows how to access the parameters that define the Animations in the Windows [url=http://msdn.microsoft.com/library/windows/apps/Hh465165">Animation Library, so that developers can rebuild these animations. [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh465165" target="_blank">Animating your UI with the Animation Library (HTML) Docs Comprehensive references of JavaScript animations with control specific guidance, examples and CSS3 Quickstarts. Wrap up We’ve been monitoring your feedback and after we identified these important topics, I searched broadly and deeply through our documentation and samples to share these links. Teams across Microsoft participate daily in the developer forums to learn what our customers want to know and to provide answers to your questions. The [url=http://msdn.microsoft.com/en-us/windows/apps/br229515" target="_blank">community resources, [url=http://code.msdn.microsoft.com/windowsapps/" target="_blank">Windows 8 Metro style app samples, [url=http://msdn.microsoft.com/en-us/library/windows/apps/br211369.aspx" target="_blank">API reference for Metro style apps, and [url=http://msdn.microsoft.com/library/windows/apps/" target="_blank">documentation continue to evolve. As soon as the upcoming Release Preview is available, links in this post (and other content in [url=http://msdn.microsoft.com/en-us/windows" target="_blank">Windows Dev Center) will contain updated info to keep you productive. We couldn’t do it without your feedback and questions, so please keep posting in the [url=http://social.msdn.microsoft.com/Forums/en-US/category/windowsapps" target="_blank">Metro style apps forums, and let us know if you can’t find something you need. -- Aaron Wroblewski Program Manager, Windows View the full article Edited February 9, 201410 yr by AWS Off Topic Forum - Unlike the Rest
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.