API reference for Windows Runtime and Windows Library for JavaScript

Expand
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
80 out of 102 rated this helpful - Rate this topic

API reference for Windows Runtime and Windows Library for JavaScript

[This documentation is preliminary and is subject to change.]

You can build compelling and elegant Metro style apps with the Windows Runtime and Windows Library for JavaScript APIs.

The Windows Runtime is designed for use with JavaScript, C#, Visual Basic, and C++. In most cases, accessing Windows Runtime functionality is as simple as adding the Using keyword to your code and taking advantage of the simple object-creation semantics supported natively by the programming language. IntelliSense is available for the Windows Runtime in all these languages.

The namespaces of the Windows Runtime are exposed using API metadata (Windows.winmd). This is the same format used by the .NET framework (Ecma-335). The underlying binary contract makes it easy for you to access the Windows Runtime APIs directly in the development language of your choice.

The Windows Library for JavaScript is a set of JavaScript and CSS files that make it easier to create Metro style apps using JavaScript. You use it together with HTML, CSS, and the Windows Runtime to create your app. When you reference these JavaScript files in your app, you must add the references in the following order: base.js then ui.js. Windows Library for JavaScript provides new controls, CSS styles, and helper functions that help you write object-oriented code.

Core

Windows.ApplicationModel
Windows.ApplicationModel.Activation
Windows.ApplicationModel.Background
Windows.ApplicationModel.Core
Windows.ApplicationModel.Resources
Windows.ApplicationModel.Resources.Core
Windows.ApplicationModel.Search
Windows.ApplicationModel.Store
Windows.Foundation
Windows.Foundation.Collections
Windows.Foundation.Diagnostics
Windows.Foundation.Metadata
Windows.Management.Core
Windows.Management.Deployment
Windows.System
Windows.System.Display
Windows.System.RemoteDesktop
Windows.System.Threading
Windows.System.UserProfile
Windows.UI.WebUI
Windows.UI.Xaml
Windows.UI.Xaml.Hosting
Windows.UI.Xaml.Interop
Windows.UI.Xaml.Markup
Windows.UI.Xaml.Resources
WinJS
WinJS.Application
WinJS.Resources

Controls

Windows.Storage.Pickers
Windows.UI.Xaml.Controls
Windows.UI.Xaml.Controls.Primitives
WinJS.UI

Data and content

Windows.ApplicationModel.DataTransfer
Windows.ApplicationModel.DataTransfer.ShareTarget
Windows.Data.Html
Windows.Data.Json
Windows.Data.Xml.Dom
Windows.Data.Xml.Xsl
Windows.Web
Windows.Web.AtomPub
Windows.Web.Syndication
Windows.UI.Xaml.Data
Windows.UI.Xaml.Documents
WinJS.Binding

Devices

Windows.Devices.Enumeration
Windows.Devices.Enumeration.Pnp
Windows.Devices.Geolocation
Windows.Devices.Input
Windows.Devices.Portable
Windows.Devices.Printers.Extensions
Windows.Devices.Sensors
Windows.Devices.Sms

Files and folders

Windows.Storage
Windows.Storage.AccessCache
Windows.Storage.BulkAccess
Windows.Storage.Compression
Windows.Storage.FileProperties
Windows.Storage.Pickers
Windows.Storage.Pickers.Provider
Windows.Storage.Provider
Windows.Storage.Search
Windows.Storage.Streams

Globalization

Windows.Globalization
Windows.Globalization.Collation
Windows.Globalization.DateTimeFormatting
Windows.Globalization.Fonts
Windows.Globalization.NumberFormatting

Graphics

Windows.Graphics.Display
Windows.Graphics.Imaging
Windows.UI.Xaml.Media
Windows.UI.Xaml.Media.Animation
Windows.UI.Xaml.Media.Imaging
Windows.UI.Xaml.Shapes

Helpers

WinJS.Class
WinJS.Namespace
WinJS.Utilities

Media

Windows.Media
Windows.Media.Capture
Windows.Media.Devices
Windows.Media.MediaProperties
Windows.Media.Playlists
Windows.Media.PlayTo
Windows.Media.Protection
Windows.Media.Transcoding
Windows.UI.Xaml.Media

Networking

Windows.Networking
Windows.Networking.BackgroundTransfer
Windows.Networking.Connectivity
Windows.Networking.NetworkOperators
Windows.Networking.Proximity
Windows.Networking.PushNotifications
Windows.Networking.Sockets

Printing

Windows.Graphics.Printing
Windows.Graphics.Printing.OptionDetails
Windows.UI.Xaml.Printing

Presentation

Windows.UI
Windows.UI.ApplicationSettings
Windows.UI.Core
Windows.UI.Core.AnimationMetrics
Windows.UI.Notifications
Windows.UI.Popups
Windows.UI.StartScreen
Windows.UI.Text
Windows.UI.ViewManagement
Windows.UI.Xaml
Windows.UI.Xaml.Controls
Windows.UI.Xaml.Controls.Primitives
Windows.UI.Xaml.Documents
Windows.UI.Xaml.Media.Animation
Windows.UI.Xaml.Media.Media3D
Windows.UI.Xaml.Navigation
WinJS.Navigation
WinJS.UI
WinJS.UI.Animation
WinJS.UI.Fragments
WinJS.UI.Pages

Security

Windows.Security.Authentication.OnlineId
Windows.Security.Authentication.Web
Windows.Security.Credentials
Windows.Security.Credentials.UI
Windows.Security.Cryptography
Windows.Security.Cryptography.Certificates
Windows.Security.Cryptography.Core
Windows.Security.Cryptography.DataProtection
Windows.Security.ExchangeActiveSyncProvisioning

Social

Windows.ApplicationModel.Contacts
Windows.ApplicationModel.Contacts.Provider

UI Automation

Windows.UI.Xaml.Automation
Windows.UI.Xaml.Automation.Peers
Windows.UI.Xaml.Automation.Provider
Windows.UI.Xaml.Automation.Text

User interaction

Windows.UI.Input
Windows.UI.Input.Inking
Windows.UI.Xaml.Input

 

 

Did you find this helpful?
(1500 characters remaining)