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 |
|
See also
Build date: 12/5/2012