TwoPaneView.Pane1Length 属性

定义

获取窗格 1 的计算宽度(在宽模式下)或高度(在高模式下),或设置窗格 1 的 GridLength 值。

适用于 UWP 的等效 WinUI 2 APIMicrosoft.UI.Xaml.Controls.TwoPaneView.Pane1Length (in the Windows 应用 SDK,请参阅 ) 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。

适用于