這是本文件的舊版!
目錄表
Windows 8 App
Windows Store
App marketing tool Create great app marketing banners in no time.
Develop
Learn to build Metro style apps
Developing basic Metro style apps (JavaScript)
Tour of the IDE for JavaScript developers
Windows Store Apps with HTML5 Refresh Jump Start
Advanced Windows Store App Development with HTML5 Jump Start
UI
Controls list (Metro style apps using JavaScript and HTML)
UX guidelines for Metro style app development
Designing for Multiple Views and Orientations using Blend
LBS/Maps
Network
Touch Input
http://msdn.microsoft.com/en-us/library/windows/desktop/dd562197%28v=vs.85%29.aspx
Simulating Touch Input in Windows Developer preview using Touch Injection API
Toast
Add launch parameters
When click on a toast. Set some parameters to control UI.
http://msdn.microsoft.com/en-us/library/windows/apps/br230846.aspx
Add a attribute name launch.
var toastXml = Windows.UI.Notifications.ToastNotificationManager.getTemplateContent(template);
toastXml.getElementsByTagName("toast")[0].setAttribute('launch', onLaunchString);
When app launching:
app.onactivated = function (eventObject) {
if (eventObject.detail.kind === Windows.ApplicationModel.Activation.ActivationKind.launch && eventObject.detail.arguments !== "") {
var args = eventObject.detail.arguments;
......
}
}
Audio/Video
Advertising
Debug
Event Log
- Open “Event Viewer”
- Open “Application and Services Logs” → “Microsoft” → “Windows” → “AppHost” → “Admin”
- Find the log item
WinJS
Namespace
ListView
- ensureVisible - Makes the item at the specified index visible. If necessary, the ListView will scroll to the item.
- loadMorePages - Loads the next set of pages if the ListView control's loadingBehavior is set to “incremental” (otherwise, it does nothing). The number of pages to be loaded is determined by the pagesToLoad property.
- pagesToLoad - Gets or sets the number of pages to load when the user scrolls beyond the threshold the pagesToLoadThreshold property specifies if the loadingBehavior property is set to “incremental”.
- loadingBehavior property - Gets or sets a value that specifies how many items are loaded into the Document Object Model (DOM).
- automaticallyLoadPages property - Gets or sets a value that indicates whether the next set of pages is automatically loaded when the user scrolls beyond the number of pages specified by the pagesToLoadThreshold property.
- itemTemplate property - Gets or sets the Template or function that creates the Document Object Model (DOM) elements for each item in the itemDataSource. Each item can contain multiple elements, but it must have a single root element.
Sample
HTML ListView loading behaviors sample
精通 Windows Store App / Windows Phone App 的 ListView / ListBox 控制項 (1)
精通 Windows Store App / Windows Phone App 的 ListView / ListBox 控制項 (2)
Windows Runtime (WinRT)
Windows.Storage
ApplicationData
IE 10
Reference
- Windows 8 – From Start to Store A detailed course on everything you need to know to create Windows 8 Store Applications using XAML and C#.
