Share via


TwoPaneView.Mode Propriété

Définition

Obtient une valeur indiquant comment les volets sont affichés.

Cette documentation s’applique à WinUI 2 pour UWP (pour WinUI dans le SDK d'application Windows, consultez les espaces de noms SDK d'application 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

Valeur de propriété

Valeur d’énumération qui indique comment les volets sont affichés.

Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

S’applique à