NavigationViewItem.CompactPaneLength Property

Definition

Gets the CompactPaneLength of the NavigationView that hosts this item.

public:
 property double CompactPaneLength { double get(); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="48.0")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="48.0")]
double CompactPaneLength();
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="48.0")]
public double CompactPaneLength { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="48.0")] get; }
var double = navigationViewItem.compactPaneLength;
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