NavigationViewOverflowLabelMode Enumeration

Definition

Definiert Konstanten, die die Bezeichnung für die Überlaufschaltfläche in einer NavigationView angeben.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die Windows App SDK Namespaces).

public enum class NavigationViewOverflowLabelMode
/// [Microsoft.UI.Xaml.MUXContractProperty(version=7)]
/// [Windows.Foundation.Metadata.Version(1)]
enum class NavigationViewOverflowLabelMode
/// [Windows.Foundation.Metadata.Version(1)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
enum class NavigationViewOverflowLabelMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class NavigationViewOverflowLabelMode
[Microsoft.UI.Xaml.MUXContractProperty(version=7)]
[Windows.Foundation.Metadata.Version(1)]
public enum NavigationViewOverflowLabelMode
[Windows.Foundation.Metadata.Version(1)]
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
public enum NavigationViewOverflowLabelMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum NavigationViewOverflowLabelMode
Public Enum NavigationViewOverflowLabelMode
Vererbung
NavigationViewOverflowLabelMode
Attribute
Microsoft.UI.Xaml.MUXContractPropertyAttribute VersionAttribute Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute ContractVersionAttribute

Felder

MoreLabel 0

Die Textbezeichnung "Mehr" wird neben dem Chevron angezeigt.

NoLabel 1

Es wird keine Textbezeichnung angezeigt, nur ein Chevron.

Beispiele

Tipp

Weitere Informationen, Entwurfsanleitungen und Codebeispiele finden Sie unter NavigationView.

Die WinUI 3-Katalog- und WinUI 2-Katalog-Apps umfassen interaktive Beispiele für die meisten WinUI 3- und WinUI 2-Steuerelemente, -Features und -Funktionen.

Wenn sie bereits installiert sind, öffnen Sie sie, indem Sie auf die folgenden Links klicken: WinUI 3-Katalog oder WinUI 2-Katalog.

Wenn sie nicht installiert sind, können Sie den WinUI 3-Katalog und den WinUI 2-Katalog aus dem Microsoft Store herunterladen.

Sie können auch den Quellcode für beide von GitHub abrufen (verwenden Sie denmain-Branch für WinUI 3 und den Branchwinui2 für WinUI 2).

Hinweise

Das Überlaufmenü wird nur angezeigt, wenn Microsoft.UI.Xaml.Controls.NavigationView.PaneDisplayModeMicrosoft.UI.Xaml.Controls.NavigationView.PaneDisplayModeTop ist und das Fenster nicht breit genug ist, um alle Navigationsmenüelemente anzuzeigen.

Gilt für: