NavigationViewTemplateSettings Klasse

Definition

Stellt berechnete Werte bereit, auf die beim Definieren von Vorlagen für eine NavigationView als TemplatedParent-Quellen verwiesen werden kann. Nicht für die allgemeine Verwendung vorgesehen.

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

/// [Microsoft.UI.Xaml.MUXContractProperty(version=7)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class NavigationViewTemplateSettings : DependencyObject
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
class NavigationViewTemplateSettings : DependencyObject
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class NavigationViewTemplateSettings : DependencyObject
[Microsoft.UI.Xaml.MUXContractProperty(version=7)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public class NavigationViewTemplateSettings : DependencyObject
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
public class NavigationViewTemplateSettings : DependencyObject
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public class NavigationViewTemplateSettings : DependencyObject
Public Class NavigationViewTemplateSettings
Inherits DependencyObject
Vererbung
NavigationViewTemplateSettings
Attribute
Microsoft.UI.Xaml.MUXContractPropertyAttribute MarshalingBehaviorAttribute ThreadingAttribute VersionAttribute Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute ContractVersionAttribute

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).

Konstruktoren

NavigationViewTemplateSettings()

Initialisiert eine neue Instanz der NavigationViewTemplateSettings-Klasse .

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

Eigenschaften

BackButtonVisibility

Ruft die Sichtbarkeit der Schaltfläche "Zurück" ab.

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

BackButtonVisibilityProperty

Identifiziert die BackButtonVisibility-Abhängigkeitseigenschaft.

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

LeftPaneVisibility

Ruft die Sichtbarkeit des linken Bereichs ab.

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

LeftPaneVisibilityProperty

Identifiziert die LeftPaneVisibility-Abhängigkeitseigenschaft.

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

OpenPaneLength

Ruft die min Breite des Fensters zwischen OpenPaneLength und der Breite des Fensters ab. Dies ist der berechnete Wert der Breite des Bereichs beim Öffnen und vollständig erweitert.

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

OpenPaneLengthProperty

Identifiziert die OpenPaneLength-Abhängigkeitseigenschaft .

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

OpenPaneWidth

Stellt berechnete Werte bereit, auf die beim Definieren von Vorlagen für eine NavigationView als TemplatedParent-Quellen verwiesen werden kann. Nicht für die allgemeine Verwendung vorgesehen.

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

OpenPaneWidthProperty

Stellt berechnete Werte bereit, auf die beim Definieren von Vorlagen für eine NavigationView als TemplatedParent-Quellen verwiesen werden kann. Nicht für die allgemeine Verwendung vorgesehen.

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

OverflowButtonVisibility

Ruft die Sichtbarkeit der Überlaufschaltfläche ab.

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

OverflowButtonVisibilityProperty

Identifiziert die Abhängigkeitseigenschaft OverflowButtonVisibility.

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

PaneToggleButtonVisibility

Ruft die Sichtbarkeit der Umschaltschaltfläche des Bereichs ab.

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

PaneToggleButtonVisibilityProperty

Identifiziert die PaneToggleButtonVisibility-Abhängigkeitseigenschaft.

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

PaneToggleButtonWidth

Ruft die Breite der Umschaltfläche für den Bereich ab.

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

PaneToggleButtonWidthProperty

Identifiziert die PaneToggleButtonWidth-Abhängigkeitseigenschaft .

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

SingleSelectionFollowsFocus

Ruft den SelectionFollowsFocus-Wert ab.

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

SingleSelectionFollowsFocusProperty

Identifiziert die SingleSelectionFollowsFocus-Abhängigkeitseigenschaft.

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

SmallerPaneToggleButtonWidth

Ruft die Breite der Umschaltfläche für den kleineren Bereich ab.

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

SmallerPaneToggleButtonWidthProperty

Identifiziert die Abhängigkeitseigenschaft SmallerPaneToggleButtonWidth .

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

TopPadding

Ruft den Abstandswert des oberen Bereichs ab.

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

TopPaddingProperty

Identifiziert die Abhängigkeitseigenschaft TopPadding.

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

TopPaneVisibility

Ruft die Sichtbarkeit des oberen Bereichs ab.

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

TopPaneVisibilityProperty

Identifiziert die Abhängigkeitseigenschaft TopPaneVisibility.

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

Gilt für: