Introduction to Windows 8 style application Development 16 settingcontract principle and construction

Source: Internet
Author: User

Setting Contract Overview

1) Setting contract provides a fast, context-related immersive access experience in the current application;

2) Setting contract is always available;

3 The settings include the system settings that are always available, the system proxy settings that allow users to control access to system devices and features, and the settings specified by the current application;

We can flick the Super button from the right edge of the screen and select "Settings" to display the Settings window. The Settings window includes both the application settings and the system settings.

For developers, you can provide entry points in the device panel through Settingcommand, and these entry points are displayed at the top of the Settings window, with permissions and comments and ratings [Note: The entry point is only available for applications approved through the Windows Store] Two entry points are provided by the system. The bottom of the Setup Panel includes the computer settings provided by the system [volume, brightness, power supply, etc.].

Setting Contract Realization Principle

1 registering the Commandsrequested event in the Setup Panel;

2 Specify the Settingscommand command in the callback function of the related setting event;

3 finally adds the Settingscommand command to the Applicationcommands, making the command effective in the Setup Panel;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.