NavigationViewTemplateSettings クラス

定義

NavigationView のテンプレートを定義するときに TemplatedParent ソースとして参照できる計算値を提供します。 一般的な使用を目的としたものではありません。

/// [Microsoft.UI.Xaml.CustomAttributes.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.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class NavigationViewTemplateSettings : DependencyObject
[Microsoft.UI.Xaml.CustomAttributes.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.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public class NavigationViewTemplateSettings : DependencyObject
Public Class NavigationViewTemplateSettings
Inherits DependencyObject
継承
Object IInspectable DependencyObject NavigationViewTemplateSettings
属性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute MarshalingBehaviorAttribute ThreadingAttribute VersionAttribute ContractVersionAttribute

ヒント

詳細、設計ガイダンス、およびコード例については、「 NavigationView」を参照してください。

WinUI 3 ギャラリー アプリには、ほとんどの WinUI 3 コントロールと機能の対話型の例が含まれています。 Microsoft Store からアプリを入手するか、GitHub でソース コードを取得します。

コンストラクター

NavigationViewTemplateSettings()

NavigationViewTemplateSettings クラスの新しいインスタンスを初期化します。

プロパティ

BackButtonVisibility

戻るボタンの可視性を取得します。

BackButtonVisibilityProperty

BackButtonVisibility 依存関係プロパティを識別します。

Dispatcher

常に Windows アプリ SDK アプリで を返しますnull。 代わりに DispatcherQueue を使用してください。

(継承元 DependencyObject)
DispatcherQueue

このオブジェクトが DispatcherQueue 関連付けられている を取得します。 は DispatcherQueue 、コードが UI 以外のスレッドによって開始された場合でも、UI スレッド上の にアクセス DependencyObject できる機能を表します。

(継承元 DependencyObject)
LeftPaneVisibility

左側のウィンドウの表示を取得します。

LeftPaneVisibilityProperty

LeftPaneVisibility 依存関係プロパティを識別します。

OpenPaneLength

minOpenPaneLength とウィンドウの幅の間の を取得します。 これは、ウィンドウを開いて完全に展開したときのウィンドウの幅の計算値です。

OpenPaneLengthProperty

OpenPaneLength 依存関係プロパティを識別します。

OverflowButtonVisibility

オーバーフロー ボタンの可視性を取得します。

OverflowButtonVisibilityProperty

OverflowButtonVisibility 依存関係プロパティを識別します。

PaneToggleButtonVisibility

ウィンドウ切り替えボタンの表示を取得します。

PaneToggleButtonVisibilityProperty

PaneToggleButtonVisibility 依存関係プロパティを識別します。

PaneToggleButtonWidth

ウィンドウのトグル ボタンの幅を取得します。

PaneToggleButtonWidthProperty

PaneToggleButtonWidth 依存関係プロパティを識別します。

SingleSelectionFollowsFocus

SelectionFollowsFocus 値を取得します。

SingleSelectionFollowsFocusProperty

SingleSelectionFollowsFocus 依存関係プロパティを識別します。

SmallerPaneToggleButtonWidth

小さいウィンドウのトグル ボタンの幅を取得します。

SmallerPaneToggleButtonWidthProperty

SmallerPaneToggleButtonWidth 依存関係プロパティを識別します。

TopPadding

上部のウィンドウの埋め込み値を取得します。

TopPaddingProperty

TopPadding 依存関係プロパティを識別します。

TopPaneVisibility

上部のウィンドウの表示を取得します。

TopPaneVisibilityProperty

TopPaneVisibility 依存関係プロパティを識別します。

メソッド

ClearValue(DependencyProperty)

依存関係プロパティのローカル値をクリアします。

(継承元 DependencyObject)
GetAnimationBaseValue(DependencyProperty)

依存関係プロパティに対して確立された基本値を返します。これは、アニメーションがアクティブでない場合に適用されます。

(継承元 DependencyObject)
GetValue(DependencyProperty)

DependencyObject から依存関係プロパティの現在の有効な値を返します。

(継承元 DependencyObject)
ReadLocalValue(DependencyProperty)

ローカル値が設定されている場合は、依存関係プロパティのローカル値を返します。

(継承元 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

この DependencyObject インスタンスの特定の DependencyProperty に対する変更をリッスンするための通知関数を登録します。

(継承元 DependencyObject)
SetValue(DependencyProperty, Object)

DependencyObject の依存関係プロパティのローカル値を設定します。

(継承元 DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

RegisterPropertyChangedCallback を呼び出して以前に登録した変更通知を取り消します。

(継承元 DependencyObject)

適用対象