WinJS.UI
TOC
Réduire la table des matières
Développer la table des matières

WinJS.UI Namespace

Provides controls and objects that manipulate data.

In this section

TopicDescription

AppBarIcon enumeration

Specifies an icon that appears on an AppBar object.

CountResult enumeration

Indicates whether the IListDataAdapter was able to provide a count.

CountError enumeration

Indicates that the IListDataAdapter was unable to provide a count.

DataSourceStatus enumeration

Describes the status of an IListDataSource.

EditError enumeration

Specifies the type of error that occurred during an edit operation on a IListDataSource or an IListDataAdapter.

FetchError enumeration

Specifies the type of error encountered when retrieving items from an IListDataAdapter.

SelectionMode enumeration

Specifies the selection mode of a ListView.

SwipeBehavior enumeration

Specifies whether elements are selected when the user performs a swipe interaction.

TapBehavior enumeration

Specifies how items respond to the tap interaction.

AppBar object

Represents an application toolbar for displaying commands.

AppBarCommand object

Represents a command to be displayed in an app bar.

DatePicker object

Allows users to pick a date value.

DOMEventMixin object

Adds event-related methods to the control.

FlipView object

Displays a collection, such as a set of photos, one item at a time.

Flyout object

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.

GridLayout object

Represents a grid layout for the ListView in which items are arranged horizontally and vertically.

HtmlControl object

Enables you to include an HTML page dynamically.

Layout object

This object supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

ListLayout object

Represents a layout for the ListView in which items are arranged in a vertical list.

ListView object

Displays data items in a customizable list or grid.

ListViewItems object

Represents a selection of ListView items.

Menu object

Represents a menu flyout for displaying commands.

MenuCommand object

Represents a command to be displayed in a Menu object.

Rating 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.

SemanticZoom object

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.

SettingsFlyout object

Provides users with fast, in-context access to settings that affect the current Metro style app.

StorageDataSource object

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.

TabContainer object

TBD

TimePicker object

Allows users to select time values.

ToggleSwitch object

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).

Tooltip object

Displays a tooltip that can contain images and formatting.

ViewBox object

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.

VirtualizedDataSource object

Serves as the base class for a custom IListDataSource.

IFetchResult interface

Contains items that were requested from an IListDataAdapter and provides some information about those items.

IItem interface

Represents an item in a list.

IItemPromise interface

Provides a mechanism for retrieving IItem objects asynchronously.

IListBinding interface

Retrieves items from a IListDataSource, enumerates the contents of a IListDataSource, and can optionally register for change notifications.

IListDataAdapter interface

Accesses data for an IListDataSource.

IListDataNotificationHandler interface

Notifies clients when an IListDataAdapter object's data changes.

IListDataSource interface

Provides access to a data source and enables you to bind, change, add, remove, and move items in that data source.

IListNotificationHandler interface

Used by an IListBinding to provide change notifications when items in a IListDataSource change.

IZoomableView interface

Supports semantic zoom functionality by exposing a control as either the zoomed in or the zoomed out view of the SemanticZoom control.

computeDataSourceGroups function

Returns a new IListDataSource that adds group information to the items of another IListDataSource.

disableAnimations function

Disables all Animation Library and ListView animations.

enableAnimations function

Enables all Animation Library and ListView animations.

executeAnimation function

Executes a specific CSS animation on a specific element.

executeTransition function

Executes a specific CSS transition on a specific element.

isAnimationEnabled function

Determines whether Animation Library and ListView animations are enabled.

processAll function

Applies declarative control binding to all elements, starting at the specified root element.

process function

Applies declarative control binding to the specified element.

setControl function

Given a DOM element and a control, attaches the control to the element.

setOptions function

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.

 

 

 

Ajouts de la communauté

AJOUTER
Afficher:
© 2018 Microsoft