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