Information: Get package information, System information, hardware information, PNP information, common equipment information
Introduced
Re-imagine the information for Windows 8 Store Apps
Get package information
Get System Information
Getting hardware information
Get information for devices with Plug and Play (Pnp:plug)
Get Common device information
Example
1, demo How to obtain the package inform
ToolTip, Frame, AppBar, ContentControl
Introduced
Re-imagine the content controls for Windows 8 Store Apps
ToolTip-Prompt Box control
Frame-framework control, for navigating content
AppBar-Application Bar controls
ContentControl Contentpresenter-contentpresenter used to present the Content of ContentControl
Re-visualize the container control for Windows 8 Store
The Ubuntu developer Canonical is conducting a beta test on a DRM-free Ubuntu music store. If it goes well, the entry to this music store will appear in LucidLynx released in May. UbuntuOneMusicStore will provide music with no DRM and No watermarks. The data source is 7 digi
Association startup: Open a file or URI using an external program, associating the specified file type or protocol
Introduced
Re-imagine the Windows 8 Store Apps associated with startup
Open a file using an external program
To open a Uri using an external program
Associates the specified file type (that is, open a file of the specified type with this program)
Associates the specified protocol (that is
Introduced
Re-imagine Windows 8 Store Apps after a task
Push notification
Example
1. Client
Backgroundtask/pushnotification.xaml
Backgroundtask/pushnotification.xaml.cs
* * Demonstrates how to receive push notification * * NOTE: * Need to add background task declaration in package.appxmanifest and check "push notification" * After the application is created in the Win8
Introduced
Re-imagine Windows 8 Store Apps after a task
Develop a simple background task
Example
1. Create a new background task with Windows runtime components
Backgroundtasklib/demo.cs
* * Background Task * NOTE: * Background task item output type needs to be set to "Windows runtime component", it will generate. winmd file, winmd-windows Metadata/using System;
Using System.Threading.Tasks;
Using Wi
File system: Text read/write, binary read/write, stream read/write, recent access list and future access list
Introduced
Re-imagine the Windows 8 Store Apps File system
Demonstrates how to read and write text data
Demonstrates how to read and write binary data
Demonstrates how to read and write streaming data
Shows how to read and write "Recent access lists" and "Future access lists"
Example
1. Demo
Introduced
Re-imagine the Windows 8 Store Apps Animation
Popinthemeanimation-Animation When the control appears, Popoutthemeanimation-animation when the control disappears
Fadeinthemeanimation-Controls fade in animation, fadeoutthemeanimation-Controls fade animation
Pointerdownthemeanimation-Animation of the mouse (finger) when pressed on the control, pointerupthemeanimation-animation when the mouse (fi
Control Basics: Measure, arrange, Generaltransform, Visua
Introduced
Re-imagine the control basics for Windows 8 Store Apps
Measure () and arrange ()-XAML layout systems
Generaltransform-Gets the location information of the element via Uielement.transformtovisual ()
VisualTree-visual tree
Example
1. Demo XAML Layout system
Controls/basic/measurearrange.xaml
Controls/basic/measurearrange.xaml.cs
Control Basics: Dependency properties, attached properties, control inheritance relationships, routed events, and hit tests
Introduced
Re-imagine the control basics for Windows 8 Store Apps
DependencyProperty-Dependency Properties
Attachedproperty-Attached properties
Inheritance relationships for controls
Routed events and hit tests
Example
1. Develop a custom control with DependencyProperty and Att
Multi-thread Task: task base, multitask parallel execution, parallel operation (Parallel)
Introduced
Re-imagine the task of Windows 8 Store Apps
Task-tasks based on the thread pool (under the System.Threading.Tasks namespace)
Concurrent execution of multiple tasks
Parallel-Parallel computing (under the System.Threading.Tasks namespace)
Example
1. The basic application of the task (based on thread poo
Introduced
Re-imagine the contract for Windows 8 Store Apps
Settings Contract-The right sidebar is called a Charm, where the "setting" is called a settings Contract
Example
Demo Application of Settings Contract
Contracts/settingscontract/demo.xaml
Contracts/settingscontract/demo.xaml.cs
* * Settings Contract-the right sidebar is called the Charm, where the "setting" is called the settings Contra
Introduced
Re-imagine the Windows 8 Store Apps Notice
Tile-Basic applications See http://www.cnblogs.com/webabcd/archive/2013/06/17/3139740.html
Tile-All Tile templates
Tile-Loops display multiple tilenotification on a Tile
Tile-an app with multiple Tile
Tile-Tile notifications are updated as scheduled, polling the service side to update Tile notifications
Example
1, display Tile all 46 kinds of tem
Introduced
Re-imagine the Windows 8 Store Apps Communication
HttpClient Overview
HTTP GET string
HTTP GET Stream
HTTP POST string
HTTP POST Stream
OAuth 2.0 Authenticated clients
Example
Service side for demonstrating HTTP traffic
Webserver/httpdemo.aspx.cs
* * used in response to HTTP request * * using System;
Using System.IO;
Using System.Threading; namespace WebServer {public partial cl
Introduced
Re-imagine the Windows 8 Store Apps Microsoft account
Get user-related information for Microsoft account
Get or set up pictures and videos of Microsoft account
Microsoft account verification, and the acquisition of relevant information
Example
1, to demonstrate how to obtain the Microsoft account user-related information
Account/accountinfo.xaml
Account/accountinfo.xaml.cs
* * Demo
Introduced
Re-imagine the bindings of Windows 8 Store Apps
Add, delete, modify and query data through MVVM mode
Example
1, Model layer
Binding/mvvm/model/productdatabase.cs
* * * Model layer Data persistence operation (local or remote) * * This example is only a demo/using System;
Using System.Collections.Generic;
Using System.Linq; Namespace XamlDemo.Binding.MVVM.Model {public class Productdata
Introduced
Re-imagine the bindings of Windows 8 Store Apps
Provides data for incremental loading of listviewbase by implementing the Isupportincrementalloading interface
Example
Implements the Isupportincrementalloading interface to provide data for incremental loading of listviewbase
Binding/myincrementalloading.cs
* * Demonstrates how to implement the Isupportincrementalloading interface to provide
Binding: Binding with Element Model Indexer Style RelativeSource, and data conversion in bindings
Introduced
Re-imagine the bindings of Windows 8 Store Apps
Binding with Element
With Model binding
Binding with Indexer
Bind a Setter in a Style (bind a static Resource)
Application of an extended tag RelativeSource for Binding
Data transformations in Bindings
Example
1, demonstrates how to bind with
Input: Get input device information, virtual keyboard, Tab navigation, pointer, Tap, Drag, Drop
Introduced
Re-imagine the Windows 8 Store Apps input
Enter information about the device
Application of SIP (Soft Input Panel)
Tab Key Navigation
Pointer-pointers, mouse
Tap-Touch
Drag and Drop
Example
1. Demonstrates how to obtain information about input devices
Input/inputdeviceinfo.xaml
Input/inp
Multi-line Threads other Auxiliary classes: SpinWait, Spinlock, Volatile, SynchronizationContext, Coredispatcher, ThreadLocal, ThreadStaticAttribute
Introduced
Re-imagine other auxiliary classes for multiple threading operations in Windows 8 Store Apps
SpinWait-Spin Wait
Spinlock-Spin Lock
Volatile-must be in memory
SynchronizationContext-Synchronizes data on a specified thread
Coredispatcher-Schedul
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.