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)
106return OwningCalendar.MonthControl?.GetCalendarDayButton(this.Date); 110return OwningCalendar.MonthControl?.GetCalendarButton(this.Date, ButtonMode);
System\Windows\Controls\Calendar.cs (6)
385CalendarItem monthControl = c.MonthControl; 852if (this.MonthControl != null) 854foreach (CalendarDayButton b in this.MonthControl.GetCalendarDayButtons()) 1059CalendarItem monthControl = this.MonthControl; 1209MonthControl?.FocusDate(date); 1244CalendarDayButton currentDayButton = MonthControl?.GetCalendarDayButton(this.CurrentDate);