Provides controls and objects that manipulate data.
The WinJS.UI namespace has these types of members:
Enumerations
| Enumeration | Description |
|---|---|
|
Specifies an icon that appears in an AppBarCommand object. | |
|
Indicates whether the IListDataAdapter was able to provide a count. | |
|
Indicates that the IListDataAdapter was unable to provide a count. | |
|
Describes the status of an IListDataSource. | |
|
Specifies the type of error that occurred during an edit operation on a IListDataSource or an IListDataAdapter. | |
|
Specifies the type of error encountered when retrieving items from an IListDataAdapter. | |
|
Specifies that type of animation for which a contentanimating event was raised. | |
|
Specifies the selection mode of a ListView. | |
|
Specifies whether elements are selected when the user performs a swipe interaction. | |
|
Specifies how items in a ListView respond to the tap interaction. |
Objects
| Object | Description |
|---|---|
|
Represents an application toolbar for displaying commands. | |
|
Represents a command to be displayed in an app bar. | |
|
Allows users to pick a date value. | |
|
Adds event-related methods to the control. | |
|
Displays a collection, such as a set of photos, one item at a time. | |
|
Displays lightweight UI that is either information, or requires user interaction. Unlike a dialog, a Flyout can be light dismissed by clicking or tapping off of it. | |
|
Represents a grid layout for the ListView in which items are arranged horizontally and vertically. | |
|
Enables you to include an HTML page dynamically. As part of the constructor, you must include an option indicating the URI of the page. | |
|
This object supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code. | |
|
Represents a layout for the ListView in which items are arranged in a vertical list. | |
|
Displays data items in a customizable list or grid. | |
|
Represents a menu flyout for displaying commands. | |
|
Represents a command to be displayed in a Menu object. | |
|
Lets the user rate something by clicking an icon that represents a rating. The Rating control can display three types of ratings: an average rating, a tentative rating, and the user's rating. | |
|
Enables the user to zoom between two different views supplied by two child controls. One child control supplies the zoomed-out view and the other provides the zoomed-in view. | |
|
Provides users with fast, in-context access to settings that affect the current Windows Store app. | |
|
A type of IListDataSource that provides read-access to an object that implements the IStorageQueryResultBase interface. A StorageDataSource enables you to query and bind to items in the data source. | |
|
Prevents a DOM sub-tree from receiving tab navigations and focus. | |
|
Allows users to select time values. | |
|
A control that lets the user switch an option between two states: on (checked is set to true) and off (checked is set to false). | |
|
Displays a tooltip that can contain images and formatting. | |
|
Scales a single child element to fill the available space without resizing it. This control reacts to changes in the size of the container as well as changes in size of the child element. For example, a media query may result in a change in aspect ratio. | |
|
Serves as the base class for a custom IListDataSource. |
Interfaces
| Interface | Description |
|---|---|
|
Contains items that were requested from an IListDataAdapter and provides some information about those items. | |
|
Represents an item in a list. | |
|
Provides a mechanism for retrieving IItem objects asynchronously. | |
|
Retrieves items from a IListDataSource, enumerates the contents of a IListDataSource, and can optionally register for change notifications. | |
|
Accesses data for an IListDataSource. | |
|
Notifies clients when an IListDataAdapter object's data changes. | |
|
Provides access to a data source and enables you to bind, change, add, remove, and move items in that data source. | |
|
Used by an IListBinding to provide change notifications when items in a IListDataSource change. | |
|
Represents a selection of ListView items. | |
|
Represents a range of indexes or keys in an ISelection. | |
|
Represents a rendering site for an ILayout. | |
|
Supports semantic zoom functionality by exposing a control as either the zoomed in or the zoomed out view of the SemanticZoom control. |
Functions
| Function | Description |
|---|---|
|
Returns a new IListDataSource that adds group information to the items of another IListDataSource. | |
|
Used to disables all Animations Library and ListView animations. Calling this function does not guarantee that the animations will be disabled, as the determination is made based on several factors. | |
|
Used to enable all Animations Library and ListView animations. Calling this function does not guarantee that the animations will be enabled, as the determination is made based on several factors. | |
|
Marks a event handler function as being compatible with declarative processing. | |
|
Asynchronously executes a collection of CSS animations on a collection of elements. This is the underlying animation mechanism used by the Animations Library. Apps are encouraged to use the Animations Library to conform with the standard look and feel of the rest of the system, rather than calling this function directly. | |
|
Asynchronously executes a collection of CSS transitions on a collection of elements. This is the underlying animation mechanism used by the Animations Library. Apps are encouraged to use the Animations Library to conform with the standard look and feel of the rest of the system, rather than calling this function directly. | |
|
Retrieves the items in the specified index range. | |
|
Determines whether the Animations Library and ListView animations will be performed if called. | |
|
Applies declarative control binding to all elements, starting at the specified root element. | |
|
Applies declarative control binding to the specified element. | |
|
Walks the DOM tree from the given element to the root of the document. Whenever a selector scope is encountered, this method performs a lookup within that scope for the specified selector string. The first matching element is returned. | |
|
Given a DOM element and a control, attaches the control to the element. | |
|
Adds the set of declaratively specified options (properties and events) to the specified control. If name of the options property begins with "on", the property value is a function and the control supports addEventListener. setControl calls addEventListener on the control. |
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
Build date: 12/5/2012