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-> enab
Introduced
Re-imagine the encryption and decryption of Windows 8 Store Apps
Asymmetric algorithm (RSA)
Signature and authentication signature (RSA)
Mutual conversion between string hex base64 binary is realized through Cryptographicbuffer
Example
1. Demonstrates how to use an asymmetric algorithm (RSA)
Crypto/asymmetric.xaml.cs
* * Demonstrates how to us
Original: Quick build Windows 8 style Apps 35-touch inputReferenceWindows 8 devices typically have a multi-touch screen that allows users to use multiple fingers simultaneously for different input interactions, such as tapping, dragging, or shrinking gestures. In addition, the touch, mouse, and pen/stylus interactions
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.Gener
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
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
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 S
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 S
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 Tim
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
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 c
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-scrollin
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, Butt
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
Introduced
Re-imagine the contract for Windows 8 Store Apps
Share Contract-Right sidebar called Charm, where "sharing" is called Share Contract
Example
1. Demonstrates how to develop a shared source
Contracts/sharecontract/sharesource.xaml
Contracts/sharecontract/sharesource.xaml.cs
* * Share Contract-The right-hand sidebar is called the Charm, wher
Introduced
Re-imagine the Windows 8 Store Apps Notice
Toast-Basic applications See http://www.cnblogs.com/webabcd/archive/2013/06/17/3139740.html
Toast-Plain Text Toast
Toast-Graphic Toast
Toast-toast's cue tone
Toast-Eject Toast as scheduled
Example
1, demo plain text toast 4 templates
Notification/toast/toastwithtext.xaml
Notification/toast/toastw
Introduced
Re-imagine the Windows 8 Store Apps image processing
Show pictures
9 slices of a picture
WriteableBitmap
Get and modify picture properties
Make a "zoom/rotate/encode" operation on the picture file and save the results after the operation
Example
1, the demonstration of the most basic picture display
Image/display.xaml
Image/display.xaml.c
Selector: File Selection window, folder Selection window, File Save window
Introduced
Re-imagine the Windows 8 Store Apps Selector
Fileopenpicker-Select a file or multiple files
Folderpicker-Select a folder
Filesavepicker-Save file to specified path
Example
1. Demonstrates how to select a file or multiple files by Fileopenpicker
Picker/fileopenpickerdemo.
Windows Phone Xiami Client
Update: http://files.cnblogs.com/alexis/Xiami_1.3_0331.xap
I prefer Xiami music, so I used my spare time to DIY a Windows Phone client. (Due to limited time and energy, various bugs are inevitable. Please forgive me)Features: 1. the all-Metro style gives you the same user experience as the s
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.