Adding app settings

15 out of 21 rated this helpful - Rate this topic

The Settings charm provides a single place to access all settings relevant to the user's current context:

  • System settings that always apply.
  • App settings that let people control an app's access to devices and capabilities. These are brokered by the system.
  • App settings that let people specify their preferences while using your app.
Settings appear in a light-dismiss Flyout, called a settings pane. The pane appears when people tap the Settings charm and disappears when they tap away from the pane. Some of the great things about using the Settings charm for your app settings is that you won't have to take up real estate on your app's UI to help people navigate to your settings, and people will have a consistent experience finding settings.

Try it out If you’d like to try working with app settings, download the Application settings sample or the hands-on labs for Windows 8. These labs provide a modular, step-by-step introduction to creating a sample Windows Store app in the programming language of your choice (JavaScript or C#).

In this section

TopicDescription

Quickstart: Using Windows Library for JavaScript

This Quickstart walks you through implementing the Settings contract by using HTML and the SettingsFlyout class for the Windows Library for JavaScript.

Quickstart: Using Windows Runtime

This quickstart walks you through implementing the Settings contract using Windows Runtime classes. However, we recommend you should instead follow the steps in the Quickstart: Adding app settings using Windows Library for JavaScript.

How to commit settings instantly

For Windows Store apps, all settings are applied as soon as the user changes their values. This model is important because the user can walks you through instantly committing settings using the WinJS settings Flyout and local application data.

Guidelines for app settings

This topic describes best practices for using the Settings charm to display app settings.

 

 

 

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.