15 references to MonthControl
PresentationFramework (15)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (7)
40if (this.OwningCalendar != null && this.OwningCalendar.MonthControl != null) 44return this.OwningCalendar.MonthControl.MonthView; 48return this.OwningCalendar.MonthControl.YearView; 104if (OwningCalendar.MonthControl == null) 114buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.MonthControl.PreviousButton); 119buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.MonthControl.HeaderButton); 124buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.MonthControl.NextButton);
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
103return OwningCalendar.MonthControl?.GetCalendarDayButton(this.Date); 107return OwningCalendar.MonthControl?.GetCalendarButton(this.Date, ButtonMode);
System\Windows\Controls\Calendar.cs (6)
385CalendarItem monthControl = c.MonthControl; 846if (this.MonthControl != null) 848foreach (CalendarDayButton b in this.MonthControl.GetCalendarDayButtons()) 1053CalendarItem monthControl = this.MonthControl; 1203MonthControl?.FocusDate(date); 1238CalendarDayButton currentDayButton = MonthControl?.GetCalendarDayButton(this.CurrentDate);