AppBar.layout property

0 out of 2 rated this helpful - Rate this topic

Gets or sets the layout of the app bar contents.

Syntax


var layout = appBar.layout;
appBar.layout = layout;

Property value

Type: string

The string "commands" if the app bar contents are laid out with global and selection AppBarCommand.sections; otherwise "custom" indicating that the app is responsible for its own custom layout. The default is "commands".

Remarks

You can put only AppBarCommands inside an app bar with the "commands" layout.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

AppBar

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.