NavigationViewItem.CompactPaneLength Property

Definition

Gets the CompactPaneLength of the NavigationView that hosts this item.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property double CompactPaneLength { double get(); };
double CompactPaneLength();
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="48.0")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="48.0")]
double CompactPaneLength();
public double CompactPaneLength { get; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="48.0")]
public double CompactPaneLength { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="48.0")] get; }
Public ReadOnly Property CompactPaneLength As Double

Property Value

Double

double

The CompactPaneLength of the NavigationView that hosts this item.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to