17 references to MonthControl
PresentationFramework (17)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (7)
47
if (this.OwningCalendar != null && this.OwningCalendar.
MonthControl
!= null)
51
return this.OwningCalendar.
MonthControl
.MonthView;
55
return this.OwningCalendar.
MonthControl
.YearView;
111
if (OwningCalendar.
MonthControl
== null)
121
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.PreviousButton);
126
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.HeaderButton);
131
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.NextButton);
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
114
return OwningCalendar.
MonthControl
?.GetCalendarDayButton(this.Date);
118
return OwningCalendar.
MonthControl
?.GetCalendarButton(this.Date, ButtonMode);
System\Windows\Controls\Calendar.cs (8)
390
CalendarItem monthControl = c.
MonthControl
;
857
if (this.
MonthControl
!= null)
859
foreach (CalendarDayButton b in this.
MonthControl
.GetCalendarDayButtons())
1069
CalendarItem monthControl = this.
MonthControl
;
1219
if (
MonthControl
!= null)
1221
MonthControl
.FocusDate(date);
1257
CalendarDayButton currentDayButton = (
MonthControl
!= null) ?
MonthControl
.GetCalendarDayButton(this.CurrentDate) : null;