CalendarViewTemplateSettings CalendarViewTemplateSettings CalendarViewTemplateSettings CalendarViewTemplateSettings Class


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

public : sealed class CalendarViewTemplateSettings : DependencyObject
struct winrt::Windows::UI::Xaml::Controls::Primitives::CalendarViewTemplateSettings : DependencyObject
public sealed class CalendarViewTemplateSettings : DependencyObject
Public NotInheritable Class CalendarViewTemplateSettings Inherits DependencyObject

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


CenterX CenterX CenterX CenterX

Gets the X coordinate of the CalendarView 's center point.

CenterY CenterY CenterY CenterY

Gets the Y coordinate of the CalendarView 's center point.

ClipRect ClipRect ClipRect ClipRect

Gets the rectangle used to clip the CalendarView.

Dispatcher Dispatcher Dispatcher 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)
HasMoreContentAfter HasMoreContentAfter HasMoreContentAfter HasMoreContentAfter

Gets a value that indicates whether the CalendarView has more content after the displayed content.

HasMoreContentBefore HasMoreContentBefore HasMoreContentBefore HasMoreContentBefore

Gets a value that indicates whether the CalendarView has more content before the displayed content.

HasMoreViews HasMoreViews HasMoreViews HasMoreViews

Gets a value that indicates whether the CalendarView has more views (like year or decade) that can be shown.

HeaderText HeaderText HeaderText HeaderText

Gets the text of the header.

MinViewWidth MinViewWidth MinViewWidth MinViewWidth

Gets the minimum width of the view.

WeekDay1 WeekDay1 WeekDay1 WeekDay1

Gets the first day of the week.

WeekDay2 WeekDay2 WeekDay2 WeekDay2

Gets the second day of the week.

WeekDay3 WeekDay3 WeekDay3 WeekDay3

Gets the third day of the week.

WeekDay4 WeekDay4 WeekDay4 WeekDay4

Gets the fourth day of the week.

WeekDay5 WeekDay5 WeekDay5 WeekDay5

Gets the fifth day of the week.

WeekDay6 WeekDay6 WeekDay6 WeekDay6

Gets the sixth day of the week.

WeekDay7 WeekDay7 WeekDay7 WeekDay7

Gets the seventh day of the week.


ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)
GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) 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) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

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

(Inherited from DependencyObject)
ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

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

(Inherited from DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) 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) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

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

(Inherited from DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

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

(Inherited from DependencyObject)

See also