TwoPaneView Class

Definition

Represents a container with two views that size and position content in the available space, either side-by-side or top-bottom.

class TwoPaneView : Control
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=8)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackMethodName(value="OnPropertyChanged")]
[Windows.Foundation.Metadata.Composable(typeof(Microsoft.UI.Xaml.Controls.ITwoPaneViewFactory), Windows.Foundation.Metadata.CompositionType.Public, 1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.UI.Xaml.Controls.ITwoPaneViewStatics), 1)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
[Windows.Foundation.Metadata.WebHostHidden]
public class TwoPaneView : Control
Public Class TwoPaneView
Inherits Control
Inheritance
TwoPaneView
Attributes

Constructors

TwoPaneView()

Initializes a new instance of the TwoPaneView class.

Properties

MinTallModeHeight

Gets or sets the minimum height at which panes are shown in tall mode.

MinTallModeHeightProperty

Identifies the MinTallModeHeight dependency property.

MinWideModeWidth

Gets or sets the minimum width at which panes are shown in wide mode.

MinWideModeWidthProperty

Identifies the MinWideModeWidth dependency property.

Mode

Gets a value that indicates how panes are shown.

ModeProperty

Identifies the Mode dependency property.

Pane1

Gets or sets the content of pane 1.

Pane1Length

Gets the calculated width (in wide mode) or height (in tall mode) of pane 1, or sets the GridLength value of pane 1.

Pane1LengthProperty

Identifies the Pane1Length dependency property.

Pane1Property

Identifies the Pane1 dependency property.

Pane2

Gets or sets the content of pane 2.

Pane2Length

Gets the calculated width (in wide mode) or height (in tall mode) of pane 2, or sets the GridLength value of pane 2.

Pane2LengthProperty

Identifies the Pane2Length dependency property.

Pane2Property

Identifies the Pane2 dependency property.

PanePriority

Gets or sets a value that indicates which pane has priority.

PanePriorityProperty

Identifies the PanePriority dependency property.

TallModeConfiguration

Gets or sets a value that indicates how panes are shown in tall mode.

TallModeConfigurationProperty

Identifies the TallModeConfiguration dependency property.

WideModeConfiguration

Gets or sets a value that indicates how panes are shown in wide mode.

WideModeConfigurationProperty

Identifies the WideModeConfiguration dependency property.

Events

ModeChanged

Occurs when the Mode of the TwoPaneView has changed.

Applies to