-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.NavigationView.CompactModeThresholdWidth |
winrt property |
Gets or sets the minimum window width at which the NavigationView enters Compact display mode.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationView.CompactModeThresholdWidth (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
<NavigationView CompactModeThresholdWidth="double" .../>
The minimum window width at which the NavigationView enters Compact display mode. The default is 641 pixels.