The Calendar type exposes the following members.

Constructors

  NameDescription
Calendar
Initialises a new instance of the Calendar class.

Methods

  NameDescription
OnApplyTemplate
Called when a template is applied to the Calendar control.
(Overrides FrameworkElement..::.OnApplyTemplate()()().)

Fields

  NameDescription
DayBackCommand
A command for moving the selection to one day earlier.
DayForwardCommand
A command for moving the selection to one day later.
DaysListPartName
Identifies the template part responsible for displaying the days of the month.
DaysOfWeekListPartName
Identifies the template part responsible for displaying the days of the week.
MonthBackCommand
A command for moving the selection to one month earlier.
MonthForwardCommand
A command for moving the selection to one month later.
SelectedDateProperty
Identifies the SelectedDate dependency property.
SelectTodayCommand
A command for selecting the current date.
VisibleMonthProperty
Identifies the VisibleMonth dependency property.
WeekBackCommand
A command for moving the selection to one week earlier.
WeekForwardCommand
A command for moving the selection to one week later.
WeeksToDisplayProperty
Identifies the WeeksToDisplay dependency property.

Properties

  NameDescription
SelectedDate
Gets or sets the selected date. This is a dependency property.
VisibleMonth
Gets or sets the month which is currently shown on the control. This is a dependency property.
WeeksToDisplay
Gets or sets the number of weeks to display. This is a dependency property.

See Also