Partager via


AppBar.commands property

[commands is no longer available for use as of WinJS 4.0. Instead, use data. ]

Gets and sets the AppBarCommand objects that appear in the app bar.

Syntax

appBar.commands = commands;

Property value

Type: WinJS.Binding.List**

A List of Command objects to display. (You may also use AppBarCommand objects.)

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

AppBar