Share via


TwoPaneView.Mode 屬性

定義

取得指出窗格顯示方式的值。

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

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

屬性值

列舉值,指出窗格的顯示方式。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於