使用者工具

網站工具


microsoft:windows8

Windows Store (8/8.1) App

Windows Store

Previewing the Windows Store

App marketing tool Create great app marketing banners in no time.

Develop

UI

LBS/Maps

Network

Touch Input

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

Analysis

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

Windows Runtime (WinRT)

Windows.Storage

ApplicationData

IE 10

Reference

eBooks

Other

jQuery

microsoft/windows8.txt · 上一次變更: 2014/11/18 10:59 由 sars