Bagikan melalui


TwoPaneView.Mode Properti

Definisi

Mendapatkan nilai yang menunjukkan bagaimana panel ditampilkan.

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

public:
 property TwoPaneViewMode Mode { TwoPaneViewMode get(); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewMode::SinglePane")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewMode::SinglePane")]
TwoPaneViewMode Mode();
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewMode::SinglePane")]
public TwoPaneViewMode Mode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewMode::SinglePane")] get; }
Public ReadOnly Property Mode As TwoPaneViewMode

Nilai Properti

Nilai enumerasi yang menunjukkan bagaimana panel ditampilkan.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk