Partager via


SplitView.closedDisplayMode property

Gets or sets how the SplitView displays the closed pane.

Syntax

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

Property value

Type: WinJS.UI.SplitView.ClosedDisplayMode**

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

Value Condition
SplitView.ClosedDisplayMode.inline

The pane is partially visible. This is the default value.

SplitView.ClosedDisplayMode.none

The pane is not visible.

 

Remarks

This property replaces the hiddenDisplayMode property.

Requirements

Minimum WinJS version

WinJS 4.0-Preview

Namespace

WinJS.UI

See also

SplitView