15 references to MonthControl
PresentationFramework (15)
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 (6)
386
CalendarItem monthControl = c.
MonthControl
;
853
if (this.
MonthControl
!= null)
855
foreach (CalendarDayButton b in this.
MonthControl
.GetCalendarDayButtons())
1060
CalendarItem monthControl = this.
MonthControl
;
1210
MonthControl
?.FocusDate(date);
1245
CalendarDayButton currentDayButton =
MonthControl
?.GetCalendarDayButton(this.CurrentDate);