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