Share via


TwoPaneView.Pane1Length 屬性

定義

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

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property GridLength Pane1Length { GridLength get(); void set(GridLength value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="c_pane1LengthDefault")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="c_pane1LengthDefault")]
GridLength Pane1Length();

void Pane1Length(GridLength value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="c_pane1LengthDefault")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="c_pane1LengthDefault")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="c_pane1LengthDefault")]
GridLength Pane1Length();

void Pane1Length(GridLength value);
public GridLength Pane1Length { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="c_pane1LengthDefault")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="c_pane1LengthDefault")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="c_pane1LengthDefault")]
public GridLength Pane1Length { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="c_pane1LengthDefault")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="c_pane1LengthDefault")] set; }
Public Property Pane1Length As GridLength

屬性值

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

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於