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;