Jaa


NavigationViewTemplateSettings Class

Definition

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a NavigationView. Not intended for general use.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class NavigationViewTemplateSettings : DependencyObject
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class NavigationViewTemplateSettings : DependencyObject
Public Class NavigationViewTemplateSettings
Inherits DependencyObject
Inheritance
Object IInspectable DependencyObject NavigationViewTemplateSettings
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Constructors

NavigationViewTemplateSettings()

Initializes a new instance of the NavigationViewTemplateSettings class.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.-ctor (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Properties

BackButtonVisibility

Gets the visibility of the back button.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.BackButtonVisibility (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

BackButtonVisibilityProperty

Identifies the BackButtonVisibility dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.BackButtonVisibilityProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Dispatcher

Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.

(Inherited from DependencyObject)
LeftPaneVisibility

Gets the visibility of the left pane.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.LeftPaneVisibility (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

LeftPaneVisibilityProperty

Identifies the LeftPaneVisibility dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.LeftPaneVisibilityProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

OverflowButtonVisibility

Gets the visibility of the overflow button.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.OverflowButtonVisibility (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

OverflowButtonVisibilityProperty

Identifies the OverflowButtonVisibility dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.OverflowButtonVisibilityProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PaneToggleButtonVisibility

Gets the visibility of the pane toggle button.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.PaneToggleButtonVisibility (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PaneToggleButtonVisibilityProperty

Identifies the PaneToggleButtonVisibility dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.PaneToggleButtonVisibilityProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SingleSelectionFollowsFocus

Gets the SelectionFollowsFocus value.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.SingleSelectionFollowsFocus (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SingleSelectionFollowsFocusProperty

Identifies the SingleSelectionFollowsFocus dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.SingleSelectionFollowsFocusProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TopPadding

Gets the padding value of the top pane.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.TopPadding (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TopPaddingProperty

Identifies the TopPadding dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.TopPaddingProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TopPaneVisibility

Gets the visibility of the top pane.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.TopPaneVisibility (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TopPaneVisibilityProperty

Identifies the TopPaneVisibility dependency property.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings.TopPaneVisibilityProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Methods

ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)
GetAnimationBaseValue(DependencyProperty)

Returns any base value established for a dependency property, which would apply in cases where an animation is not active.

(Inherited from DependencyObject)
GetValue(DependencyProperty)

Returns the current effective value of a dependency property from a DependencyObject.

(Inherited from DependencyObject)
ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if a local value is set.

(Inherited from DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance.

(Inherited from DependencyObject)
SetValue(DependencyProperty, Object)

Sets the local value of a dependency property on a DependencyObject.

(Inherited from DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

(Inherited from DependencyObject)

Applies to