1 write to OwningCalendar
PresentationFramework (1)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
45OwningCalendar = owningCalendar;
25 references to OwningCalendar
PresentationFramework (25)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (25)
97if (this.OwningCalendar != null) 99AutomationPeer peer = FrameworkElementAutomationPeer.CreatePeerForElement(this.OwningCalendar); 115if (OwningCalendar.DisplayMode != ButtonMode) 122return OwningCalendar.MonthControl?.GetCalendarDayButton(this.Date); 126return OwningCalendar.MonthControl?.GetCalendarButton(this.Date, ButtonMode); 251string dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.GetCulture(OwningCalendar)); 252if (IsDayButton && this.OwningCalendar.BlackoutDates.Contains(Date)) 332dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.GetCulture(OwningCalendar)); 335dateString = DateTimeHelper.ToYearMonthPatternString(Date, DateTimeHelper.GetCulture(OwningCalendar)); 338dateString = DateTimeHelper.ToYearString(Date, DateTimeHelper.GetCulture(OwningCalendar)); 728return this.OwningCalendar.SelectedDates.Contains(Date); 759if (this.OwningCalendar.SelectionMode == CalendarSelectionMode.SingleDate) 761this.OwningCalendar.SelectedDate = Date; 765this.OwningCalendar.SelectedDates.Add(Date); 785this.OwningCalendar.SelectedDates.Remove(Date); 799if (EnsureSelection() && this.OwningCalendar.SelectionMode == CalendarSelectionMode.SingleDate) 801this.OwningCalendar.SelectedDate = Date; 822if (this.OwningCalendar != null && this.OwningCalendarProvider != null) 824IRawElementProviderSimple[] headers = ((ITableProvider)FrameworkElementAutomationPeer.CreatePeerForElement(this.OwningCalendar)).GetColumnHeaders(); 872if (OwningCalendar.DisplayMode != ButtonMode) 874OwningCalendar.DisplayMode = ButtonMode; 878OwningCalendar.DisplayDate = this.Date; 890CalendarAutomationPeer owningCalendarPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar) as CalendarAutomationPeer; 902if (this.OwningCalendar.BlackoutDates.Contains(Date) || 903this.OwningCalendar.SelectionMode == CalendarSelectionMode.None)