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 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 generat
In the era of application is kingly, Microsoft actively promote the eco-construction of Windows Store platform. Following the April exposure, foreign netizens @rlinev again shared a set of screenshots of the mobile-end Windows store, saying Microsoft is working to improve the user interface of the mobile-end mall.
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
1. On the "Start" screen, click "App Store".2. In the empty space of the application store, click the right mouse button.3. Select "Your Application" at the top of the screen.4. You can now see the "purchased, not installed" software.5. Click on the software you want to install and tick it. (Take "Microsoft Mahjong" for example)6. Select "
IPA file, using Appuploader can upload the IPA directly to the app Store, the process is very simple.1. Start Application Uploader2. Click the Upload button in the individual IPA module3. Select an IPA file to uploadThen application uploader will automatically upload the IPA file650) this.width=650; "alt=" Upload IPA to AppStore screen "height=" 449 "src=" http://api.appuploader.net/appuploader/templates/ Images/uploading_exp.jpg "width=" 660 "/>When
centerofrotationx= "0.9 " rotationy= "/> " The code above is similar to the example code described earlier, and the difference is that this exampleplaneprojectionElements ofCenterofrotationxproperty value is set to0.9that represents the center of rotation along theXaxis and parallel toYThe axis moves right to the right edge of the picture, and thenRotationYproperty value is set to $so that the picture will go aroundYaxis Clockwise rotation $degree. Press the F5 running the program
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
Introduced
Re-imagine the Windows 8 Store Apps Animation
Linear Animation-A total of 3 species: ColorAnimation, DoubleAnimation, PointAnimation, all inherited from Timeline
Key-Frame animations-a total of 4 species: ColorAnimationUsingKeyFrames, DoubleAnimationUsingKeyFrames, PointAnimationUsingKeyFrames, Objectanimationusingkeyframes they all inherit from Timeline
Slow motion animation-easing
Example
Control UI: Font inheritance, Style, ControlTemplate, Systemreso
Introduced
Re-imagine the Windows 8 Store Apps Control UI
Font inheritance-Inherit font-related information from your parents
Style-styles
ControlTemplate-Control templates
system resources-system built in style resources
VisualState-View state
VisualStateManager-View state manager
Example
1. Demo Font inheritance
Controls/ui/fontin
GridView control attributes: dragging items, item dimensions are variable, grouped display
Introduced
Re-imagine the GridView of Windows 8 Store Apps
Drag item-Drag item in the GridView to sort item, drag item to a specified location outside the GridView to delete item
Item size variable-Specifies the size of each item in the Girdview
Group Display-Display collection data in groups
Example
1, demonst
Introduced
Re-imagine the ScrollViewer of Windows 8 Store Apps
The basic application of demonstrating ScrollViewer
The basic application of demonstrating ScrollBar
The basic application of demonstrating Scrollcontentpresenter
Example
1, the basic application of ScrollViewer
Scrollviewer/demo.xaml
Scrollviewer/demo.xaml.cs
* * ScrollViewer-scrolling View Control * This example is used to demo
ComboBox, ListBox, Flipview, itemscontr
Introduced
Re-imagine the Windows 8 Store Apps Collection Control
ComboBox-Dropdown box
ListBox-list box
Flipview-Slide View Control
ItemsControl Itemspresenter-itemspresenter is used to render ItemsControl Items
Example
1, ComboBox's Demo
Comboboxdemo.xaml
Button, Hyperlinkbutton, RepeatButton
Introduced
Re-imagine the Windows 8 Store Apps Button control
button-Buttons Control
Hyperlinkbutton-Super Chain button
RepeatButton-Press the button to repeat the click action
ToggleButton-Toggle State button
RadioButton-Radio Box control
CheckBox-check box control
Toggleswitch-State Toggle Control
Example
1, Button's Demo
ButtonDemo.xaml.cs
/* button-pus
Multi-thread thread pool: Deferred execution, cycle execution, find a thread in the threads pool to execute the specified method
Introduced
Re-imagine the Windows 8 Store Apps thread pool
Implementing deferred execution via Threadpooltimer
Implement cycle execution through Threadpooltimer
Using the ThreadPool implementation "find a thread in the threads pool to execute the specified method"
Example
1
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.