Share via


TwoPaneView.Pane1Length Properti

Definisi

Mendapatkan lebar terhitung (dalam mode lebar) atau tinggi (dalam mode tinggi) panel 1, atau mengatur nilai GridLength panel 1.

Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

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

Nilai Properti

GridLength yang mewakili lebar atau tinggi panel.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk