ComboBoxTemplateSettings クラス

定義

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

public ref class ComboBoxTemplateSettings sealed : DependencyObject
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ComboBoxTemplateSettings final : DependencyObject
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ComboBoxTemplateSettings : DependencyObject
Public NotInheritable Class ComboBoxTemplateSettings
Inherits DependencyObject
継承
Object Platform::Object IInspectable DependencyObject ComboBoxTemplateSettings
属性

注釈

TemplateSettings の値に対してクエリを実行して、ComboBoxTemplateSettings のインスタンスを取得します。

ComboBoxTemplateSettings の値は、通常、テーマ アニメーションまたは画面切り替えの To または From の値として使用されます。

プロパティ

Dispatcher

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

(継承元 DependencyObject)
DispatcherQueue

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

(継承元 DependencyObject)
DropDownClosedHeight

ComboBox の "ポップアップ" 部分の実行時レイアウト スロットの高さを "Closed" 状態で報告する値を取得します。

DropDownContentMinWidth

ドロップダウン コンテンツの最小幅の値を取得します。

DropDownOffset

ComboBox の "ポップアップ" 部分の分割アニメーションに役立つ実行時オフセット値を報告する値を取得します。

DropDownOpenedHeight

ComboBox の "ポップアップ" 部分の実行時レイアウト スロットの高さを "Opened" 状態で報告する値を取得します。

SelectedItemDirection

ComboBox の選択方向を報告する値を取得します。 これは、DropDownOffset の設定方法に応じて、[下] または [上] のいずれかになります。

メソッド

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)

適用対象

こちらもご覧ください