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