://www.bianceng.cn/OS/extra/
Cause
The author tries to use the listbox to execute the same code, and this does not occur, so the analysis is a problem with Windows Phone 8 's new longlistselector.
The specific reason is because ObservableCollection exposes the CollectionChanged interface to ObservableCollection Longlistselector Itemsource, Longlistselector through this interface to monitor the collection
Recently the computer is very strange often automatically start, recall time, it does not seem to be the legendary automatic update time (usually the default time is three o'clock in the morning automatic maintenance), and generally I am self maintenance, so I have this automatic maintenance to shut down. But sometimes when I get home from work, Windows 8 still randomly turns on the boot phenomenon. Because
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
Magnetic paste is one of the important means to attract users to use frequently. We can display the better content in the application using a tile.
In addition, application magnets are a central part of the application and are likely to be the most common part of the user, so use dynamic magnets to entice users to use our apps frequently!
This blog post mainly describes how to create basic tiles (that is, the default tile) and how to update the tiles using local notifications.
First, create
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
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, where "sharing" is called Share Contract * * * Th
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/toastwithtext.xaml.cs
* * Demo 4 templates for
The Quick build Windows 8 style Application 20-mediaelement blog mentions how to use the MediaElement object to play the simple function of video, but it requires more complex features in practical applications, such as controls that control video playback, Full-screen mode, Progress bar and so on other functions.
The example in this blog post uses the media files contained in the application, and of cours
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.cs
* * Demo The most basic picture display
What views are included in the Windows 8 style application
Several common views include the following:
1. Fullscreenlandscape (horizontal Full-screen view)
2. Filled (fill view)
3 Snap view (paste view)
4. fullscreenportrait (Full screen view in vertical direction)
The minimum view state resolution supports 1024*768, and the full screen views state resolution is above 1366*768.
Note: The minimum re
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.