TextBlock, TextBox, PasswordBox, riched
Introduced
Re-imagine the Windows 8 Store Apps Text control
TextBlock-Text Display box
TextBox-Text input Box
PasswordBox-Password input box
Richeditbox-Rich Text edit box
Richtextblock-Rich Text display box
Richtextblockoverflow-Overflow text display box
Example
1, TextBlock's Demo
Textblockdemo.xaml
Introduced
Re-imagine the encryption and decryption of Windows 8 Store Apps
Hash algorithm (MD5, SHA1, SHA256, SHA384, SHA512)
HMAC algorithm (MD5, SHA1, SHA256, SHA384, SHA512)
Encrypted decryption of local data
Symmetric algorithm (AES, DES, 3DES, RC2, RC4)
Example
1. Demonstrates how to use the hash algorithm (MD5, SHA1, SHA256, SHA384, SHA512)
Crypto/hash.xaml.cs
* * Demonstrates how to use th
Multi-thread Asynchronous programming: Classic and newest asynchronous programming model, Iasyncinfo and Task conversion
Introduced
Re-imagine the asynchronous programming of Windows 8 Store Apps
Classic Asynchronous Programming model (IAsyncResult)
The latest asynchronous programming model (async and await)
Convert Iasyncinfo into a Task
Convert Task to Iasyncinfo
Example
1, using the classic async
Introduced
Re-imagine the contract for Windows 8 Store Apps
Search Contract-The right-hand sidebar is called Charm, where "searching" is known as search Contract
Use search Contract to suggest that the data source is local and that you get relevant information from the Input Method Editor
Use search Contract to suggest that the data source is on the server side, as well as adding icons, descriptions, et
Introduced
Re-imagine Windows 8 Store Apps after a task
Control channel (Controlchannel)
Example
1, client and server to do Controlchannel communication key code
Controlchannelhelper/appcontext.cs
* * This example uses global static variables to share information about the app and task so that background tasks can get information about the app. *
Note:
* can also be achieved through Windows.Applicat
Introduced
Re-imagine Windows 8 Store Apps after a task
Background playback and control of music
Example
An object to hold information about each piece of music
Backgroundtask/songmodel.cs
* * * for the preservation of each piece of music related information * *
using System;
Using System.Threading.Tasks;
Using Windows.storage;
Namespace Xamldemo.backgroundtask
{public
class Songmodel
Introduced
Re-imagine the Windows 8 Store Apps Communication
Socket-tcp Demo
Socket-Implements a custom HTTP server
SOCKET-UDP Demo
Example
1, Demo socket TCP Application (this example is to do both server and client)
Communication/socket/tcpdemo.xaml
Communication/socket/tcpdemo.xaml.cs
* * Demo Socket TCP Application (this example is both server and client) * * Through the Streamsocketlist
Introduced
Re-imagine the Windows 8 Store Apps lock screen
Login lock screen, get the current program's lock screen permission, remove from the lock screen
Send badge or text to lock screen
Bind multiple tile of an app to a lock screen
Custom lock Screen Picture
Example
1. Demonstrates how to login to the lock screen, get the current program's lock screen permission, remove from the lock screen
Lock
Introduced
Re-imagine the Windows 8 Store Apps System UI
Get UI-related setup information for the system
Screen orientation
Snap
Increases animation effects for SNAP operations and screen orientation changes
Zoom to different screens
High Contrast
Example
1. Demonstrates how to obtain the system's UI-related setup Information
Ui/uisettingsinfo.xaml.cs
* * Demonstrates how to obtain the UI-relate
Introduced
Re-imagine the Windows 8 Store Apps gesture
Monitoring Edge gestures
Gesture manipulation-Application of Manipulate (displacement gestures, scaling gestures, rotating gestures)
Gesture recognition-the application of Gesturerecognizer
Example
1. Demonstrate how to monitor edge gestures
Input/touch/edgegesturedemo.xaml
Input/touch/edgegesturedemo.xaml.cs
* * Demonstrates how to moni
Re-imagine Windows 8 Store Apps (69)-Other: Custom splash screen, program run location, keep screen lit, messagedialog, popupmenu
Author: WEBABCD
Introduced
Re-imagine the other Windows 8 Store Apps
Customizing the splash screen
Checks whether the currently rendered application is running locally or on a remote de
Multi-thread Asynchronous Programming: Iasyncaction, Iasyncoperation
Re-imagine Windows 8 Store Apps (45)-multi-line asynchronous programming: Iasyncaction, Iasyncoperation, iasyncactionwithprogress, IASYNCOPERATIONWITHPR Ogress
Introduced
Re-imagine the asynchronous programming of Windows 8 Store Apps
Iasyncaction
Introduced
Re-visualize the localization and globalization of Windows 8 Store Apps
Localization-Demo
Localization-changing languages
Globalization-Demo
Globalization-Formatting numbers
Example
1. Demonstrate the basic application of localization
Localization/localizationdemo.xaml
Localization/localizationdemo.xaml.cs
* * Demo BASIC application of localization * * Another: * Visual Studio 20
Introduced
Re-imagine the Windows 8 Store Apps Communication
Socket-do Text communication with WebSocket server
Socket-Do Stream (Binary) communication with WebSocket server
Example
WebSocket Service-side
Webserver/websocketserver.ashx.cs
* * * WebSocket Protocol Server * * need to enable WebSocket protocol in IIS: Control Panel-> programs and features-> enable or turn off
Introduced
Re-imagine the Windows 8 Store Apps Communication
Get Network Information
Serialization-JSON
Serialization-XML
Serialization-RSS Atom
Example
1, demonstrate how to obtain information about the network
Communication/networkinfo.xaml.cs
* * Demonstrates how to obtain information about the network * * using System;
Using System.Collections.Generic;
Using Windows.Networking.Connectivity;
Us
Introduced
Re-imagine the bindings of Windows 8 Store Apps
Binding with ObservableCollection
Binding with CollectionViewSource
Binding with Virtualizedfilesvector
Binding to Virtualizeditemsvector
Example
1, show how to bind observablecollection
Binding/bindingobservablecollection.xaml
Binding/bindingobservablecollection.xaml.cs
* * Demonstrates how to bind observablecollection
Multi-thread thread synchronization: Semaphore, Countdownevent, Barrier, ManualResetEvent, AutoResetEvent
Introduced
Re-visualize the thread sync for Windows 8 Store Apps
Semaphore-Signal Volume
Countdownevent-thread synchronization via semaphore number
Barrier-Barrier
ManualResetEvent-Manual traffic lights
AutoResetEvent-Automatic traffic lights
Example
1. Demonstrate the use of semaphore
Thread/
Introduced
Re-imagine Windows 8 Store Apps after a task
Background Download Task
Background upload Task
Example
Extended downloadoperation and uploadoperation so that download progress or upload progress can be notified
Backgroundtask/transfermodel.cs
* * Extended downloadoperation and uploadoperation for download progress or upload progress to notify/using System;
Using System.ComponentModel;
Usin
File system: Accessing folders and files, searching for local files via Aqs
Introduced
Re-imagine the Windows 8 Store Apps File system
File access-access folders and files, and get various properties of files
Folder Access-some special actions when traversing folders
Thumbnail access-Get a thumbnail of a file
AQS-Search local files via Aqs (Advanced Query Syntax)
Example
1. Demonstrates how to acces
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.