다음을 통해 공유


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

NavBarContainer

NavBar

NavBarCommand

BackButton

AppBar

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