TwoPaneView.Mode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates how panes are shown.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
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
Property Value
An enumeration value that indicates how panes are shown.
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute