15 references to MonthControl
PresentationFramework (15)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (7)
40
if (this.OwningCalendar != null && this.OwningCalendar.
MonthControl
!= null)
44
return this.OwningCalendar.
MonthControl
.MonthView;
48
return this.OwningCalendar.
MonthControl
.YearView;
104
if (OwningCalendar.
MonthControl
== null)
114
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.PreviousButton);
119
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.HeaderButton);
124
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.NextButton);
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
103
return OwningCalendar.
MonthControl
?.GetCalendarDayButton(this.Date);
107
return OwningCalendar.
MonthControl
?.GetCalendarButton(this.Date, ButtonMode);
System\Windows\Controls\Calendar.cs (6)
385
CalendarItem monthControl = c.
MonthControl
;
846
if (this.
MonthControl
!= null)
848
foreach (CalendarDayButton b in this.
MonthControl
.GetCalendarDayButtons())
1053
CalendarItem monthControl = this.
MonthControl
;
1203
MonthControl
?.FocusDate(date);
1238
CalendarDayButton currentDayButton =
MonthControl
?.GetCalendarDayButton(this.CurrentDate);