Udostępnij za pośrednictwem


TwoPaneView.Pane1Length Property

Definition

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

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

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

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

Property Value

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

Applies to