Share via


TwoPaneView.Pane2Length 屬性

定義

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

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

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

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

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

屬性值

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

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於