Udostępnij za pośrednictwem


TwoPaneView.Pane2Length Property

Definition

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

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

public:
 property GridLength Pane2Length { GridLength get(); void set(GridLength value); };
GridLength Pane2Length();

void Pane2Length(GridLength value);
public GridLength Pane2Length { get; set; }
var gridLength = twoPaneView.pane2Length;
twoPaneView.pane2Length = gridLength;
Public Property Pane2Length As GridLength

Property Value

The GridLength that represents the width or height of the pane.

Applies to