17 references to MonthControl
PresentationFramework (17)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (7)
41
if (this.OwningCalendar != null && this.OwningCalendar.
MonthControl
!= null)
45
return this.OwningCalendar.
MonthControl
.MonthView;
49
return this.OwningCalendar.
MonthControl
.YearView;
105
if (OwningCalendar.
MonthControl
== null)
115
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.PreviousButton);
120
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.HeaderButton);
125
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.NextButton);
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
107
return OwningCalendar.
MonthControl
?.GetCalendarDayButton(this.Date);
111
return OwningCalendar.
MonthControl
?.GetCalendarButton(this.Date, ButtonMode);
System\Windows\Controls\Calendar.cs (8)
386
CalendarItem monthControl = c.
MonthControl
;
853
if (this.
MonthControl
!= null)
855
foreach (CalendarDayButton b in this.
MonthControl
.GetCalendarDayButtons())
1063
CalendarItem monthControl = this.
MonthControl
;
1213
if (
MonthControl
!= null)
1215
MonthControl
.FocusDate(date);
1251
CalendarDayButton currentDayButton = (
MonthControl
!= null) ?
MonthControl
.GetCalendarDayButton(this.CurrentDate) : null;