17 references to MonthControl
PresentationFramework (17)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (7)
47if (this.OwningCalendar != null && this.OwningCalendar.MonthControl != null) 51return this.OwningCalendar.MonthControl.MonthView; 55return this.OwningCalendar.MonthControl.YearView; 111if (OwningCalendar.MonthControl == null) 121buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.MonthControl.PreviousButton); 126buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.MonthControl.HeaderButton); 131buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.MonthControl.NextButton);
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
114return OwningCalendar.MonthControl?.GetCalendarDayButton(this.Date); 118return OwningCalendar.MonthControl?.GetCalendarButton(this.Date, ButtonMode);
System\Windows\Controls\Calendar.cs (8)
390CalendarItem monthControl = c.MonthControl; 857if (this.MonthControl != null) 859foreach (CalendarDayButton b in this.MonthControl.GetCalendarDayButtons()) 1069CalendarItem monthControl = this.MonthControl; 1219if (MonthControl != null) 1221MonthControl.FocusDate(date); 1257CalendarDayButton currentDayButton = (MonthControl != null) ? MonthControl.GetCalendarDayButton(this.CurrentDate) : null;