Delen via


TwoPaneViewMode Enum

Definition

Defines constants that specify how panes are shown in a TwoPaneView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TwoPaneViewMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public enum class TwoPaneViewMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
enum class TwoPaneViewMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
public enum TwoPaneViewMode
Public Enum TwoPaneViewMode
Inheritance
TwoPaneViewMode
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Fields

Name Value Description
SinglePane 0

Only one pane is shown.

Wide 1

Panes are shown side-by-side.

Tall 2

Panes are shown top-bottom.

Applies to

See also