The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
AppBarCommand.section property

Gets or sets the section of the AppBar that hosts this AppBarCommand.
Syntax
var section = appBarCommand.section;
Property value
Type: String
One of the following values:
| Value | Condition |
|---|---|
|
This value indicates that the command should be displayed in the AppBar's action area if there is sufficient room available. If there is insufficient room to hold all primary commands in the action area, commands are automatically moved into the overflow area. |
|
This value indicates that the command should be displayed in theAppBar's overflow area at all times. |
|
Deprecated. Use "primary" or "secondary" instead. |
|
Deprecated. Use "primary" or "secondary" instead. |
Remarks
Requirements
|
Minimum WinJS version |
WinJS 1.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also
- AppBarCommand
- AppBar
- AppBarIcon
- BackButton
- NavBar
- Your first app - Part 3: PageControl objects and navigation
- Navigating between pages (HTML)
- Adding app bars
- Adding nav bars
- HTML AppBar control sample
- HTML NavBar control sample
- Navigation and navigation history sample
- Designers
- Command patterns
- Navigation patterns
- Guidelines for app bars
- Bottom app bar
- Top app bar
Show: