Share via


SplitView.panePlacement property

Gets or sets the location of the pane.

Syntax

<div
  data-win-control="WinJS.UI.SplitView" 
  data-win-options="{ panePlacement : value}">
</div>
var panePlacement = splitView.panePlacement;
splitView.panePlacement = panePlacement;

Property value

Type: WinJS.UI.SplitView.PanePlacement**

One of the WinJS.UI.SplitView.PanePlacement enumeration values:

Value Condition
WinJS.UI.SplitView.PanePlacement.left

Display the pane on the left. This is the default value.

WinJS.UI.SplitView.PanePlacement.right

Display the pane on the right.

WinJS.UI.SplitView.PanePlacement.top

Display the pane on the top.

WinJS.UI.SplitView.PanePlacement.bottom

Display the pane on the bottom.

 

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

SplitView