4.70 Calendar

x:Object > DependencyObject > Visual > UIElement > FrameworkElement > Control > Calendar, IInputElement
Calendar
(usage)
<Calendar />
(description)
Represents a control that enables a user to select a date by using a visual calendar display.
[name property]
Name
[xml lang property]
Language
(properties)
BlackoutDates
CalendarBlackoutDatesCollection
(description)
A collection of dates that are marked as not selectable.
[read only]
true
CalendarButtonStyle
Style
(description)
The Style associated with the control's internal CalendarButton object.
CalendarDayButtonStyle
Style
(description)
The Style associated with the control's internal CalendarDayButton object.
CalendarItemStyle
Style
(description)
The Style associated with the control's internal CalendarItem object.
DisplayDate
x:DateTime
(description)
The date to display.
DisplayDateEnd
x:Nullable(x:DateTime)
(description)
The last date in the date range that is available in the calendar.
DisplayDateStart
x:Nullable(x:DateTime)
(description)
The first date that is available in the calendar.
DisplayMode
CalendarMode
(description)
A value that indicates whether the calendar displays a month, year, or decade.
FirstDayOfWeek
DayOfWeek
(description)
The day that is considered the beginning of the week.
IsTodayHighlighted
x:Boolean
(description)
A value that indicates whether the current date is highlighted.
SelectedDate
x:Nullable(x:DateTime)
(description)
The currently selected date.
SelectedDates
SelectedDatesCollection
(description)
A collection of selected dates.
[read only]
true
SelectionMode
CalendarSelectionMode
(description)
A value that indicates what kind of selections are allowed.
(events)
DisplayDateChanged
Occurs when the DisplayDate property is changed.
DisplayModeChanged
Occurs when the DisplayMode property is changed.
SelectedDatesChanged
Occurs when the collection returned by the SelectedDates property is changed.
SelectionModeChanged
Occurs when the SelectionMode changes.