Share via


TwoPaneView.Pane1Length 屬性

定義

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

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; }
var gridLength = twoPaneView.pane1Length;
twoPaneView.pane1Length = gridLength;
Public Property Pane1Length As GridLength

屬性值

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

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於