17 references to MonthControl
PresentationFramework (17)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (7)
48
if (this.OwningCalendar != null && this.OwningCalendar.
MonthControl
!= null)
52
return this.OwningCalendar.
MonthControl
.MonthView;
56
return this.OwningCalendar.
MonthControl
.YearView;
112
if (OwningCalendar.
MonthControl
== null)
122
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.PreviousButton);
127
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.HeaderButton);
132
buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.
MonthControl
.NextButton);
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
122
return OwningCalendar.
MonthControl
?.GetCalendarDayButton(this.Date);
126
return OwningCalendar.
MonthControl
?.GetCalendarButton(this.Date, ButtonMode);
src\Framework\System\Windows\Controls\Calendar.cs (8)
391
CalendarItem monthControl = c.
MonthControl
;
858
if (this.
MonthControl
!= null)
860
foreach (CalendarDayButton b in this.
MonthControl
.GetCalendarDayButtons())
1070
CalendarItem monthControl = this.
MonthControl
;
1220
if (
MonthControl
!= null)
1222
MonthControl
.FocusDate(date);
1258
CalendarDayButton currentDayButton = (
MonthControl
!= null) ?
MonthControl
.GetCalendarDayButton(this.CurrentDate) : null;