NavigationViewItemPresenterTemplateSettings Class

Definition

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

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

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class NavigationViewItemPresenterTemplateSettings : DependencyObject
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class NavigationViewItemPresenterTemplateSettings : DependencyObject
Public Class NavigationViewItemPresenterTemplateSettings
Inherits DependencyObject
Inheritance
NavigationViewItemPresenterTemplateSettings
Attributes

Constructors

NavigationViewItemPresenterTemplateSettings()

Initializes a new instance of the NavigationViewItemPresenterTemplateSettings class.

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

Properties

IconWidth

Gets the width of the NavigationViewItemPresenter icon.

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

IconWidthProperty

Identifies the IconWidth dependency property.

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

SmallerIconWidth

Gets the width of the smaller variant of the NavigationViewItemPresenter icon.

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

SmallerIconWidthProperty

Identifies the SmallerIconWidth dependency property.

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

Applies to