NavBarContainer.fixedSize property
[NavBarContainer is no longer available for use as of Windows Library for JavaScript (WinJS) 4.2. Instead, use SplitViewCommand. ]
Gets or sets a value that specifies whether NavBarCommand objects in this container use a fixed or dynamic width.
Syntax
<div
data-win-control="WinJS.UI.NavBarContainer"
data-win-options="{ fixedSize : value}" >
</div>
var fixedSize = navBarContainer.fixedSize;
navBarContainer.fixedSize = fixedSize;
Property value
Type: Boolean
Set to true to use a fixed width for child NavBarCommand objects; set to false to use dynamic sizing. The default value is false.
Requirements
Minimum WinJS version |
WinJS 2.0 |
Namespace |
WinJS.UI |
See also
Your first app - Part 3: PageControl objects and navigation
Navigating between pages (HTML)
Navigation and navigation history sample
Designers
Bottom app bar