CalendarViewTemplateSettings クラス

定義

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

public ref class CalendarViewTemplateSettings 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 CalendarViewTemplateSettings 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 CalendarViewTemplateSettings : DependencyObject
Public NotInheritable Class CalendarViewTemplateSettings
Inherits DependencyObject
継承
Object Platform::Object IInspectable DependencyObject CalendarViewTemplateSettings
属性

プロパティ

CenterX

CalendarView の中心点の X 座標を取得します。

CenterY

CalendarView の中心点の Y 座標を取得します。

ClipRect

CalendarView のクリップに使用する四角形を取得します。

Dispatcher

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

(継承元 DependencyObject)
DispatcherQueue

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

(継承元 DependencyObject)
HasMoreContentAfter

表示されるコンテンツの後に CalendarView のコンテンツが増えるかどうかを示す値を取得します。

HasMoreContentBefore

表示されるコンテンツの前に CalendarView のコンテンツが多いかどうかを示す値を取得します。

HasMoreViews

CalendarView に表示できるビュー (年や 10 年など) が増えるかどうかを示す値を取得します。

HeaderText

ヘッダーのテキストを取得します。

MinViewWidth

ビューの最小幅を取得します。

WeekDay1

週の最初の曜日を取得します。

WeekDay2

週の 2 日目を取得します。

WeekDay3

週の 3 日目を取得します。

WeekDay4

週の 4 日目を取得します。

WeekDay5

週の 5 日目を取得します。

WeekDay6

週の 6 日目を取得します。

WeekDay7

週の 7 日目を取得します。

メソッド

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)

適用対象

こちらもご覧ください