共用方式為


TwoPaneView.Pane1Length 屬性

定義

取得窗格 1 的計算寬度 (在寬模式中) 或高度 (高模式),或設定窗格 1 的 GridLength 值。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.TwoPaneView.Pane1Length (在Windows 應用程式 SDK中適用于 WinUI,請參閱Windows 應用程式 SDK命名空間) 。

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

屬性值

GridLength,代表窗格的寬度或高度。

適用於