1 write to OwningCalendar
PresentationFramework (1)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
30OwningCalendar = owningCalendar;
25 references to OwningCalendar
PresentationFramework (25)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (25)
82if (this.OwningCalendar != null) 84AutomationPeer peer = FrameworkElementAutomationPeer.CreatePeerForElement(this.OwningCalendar); 100if (OwningCalendar.DisplayMode != ButtonMode) 107return OwningCalendar.MonthControl?.GetCalendarDayButton(this.Date); 111return OwningCalendar.MonthControl?.GetCalendarButton(this.Date, ButtonMode); 236string dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.GetCulture(OwningCalendar)); 237if (IsDayButton && this.OwningCalendar.BlackoutDates.Contains(Date)) 317dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.GetCulture(OwningCalendar)); 320dateString = DateTimeHelper.ToYearMonthPatternString(Date, DateTimeHelper.GetCulture(OwningCalendar)); 323dateString = DateTimeHelper.ToYearString(Date, DateTimeHelper.GetCulture(OwningCalendar)); 745return this.OwningCalendar.SelectedDates.Contains(Date); 776if (this.OwningCalendar.SelectionMode == CalendarSelectionMode.SingleDate) 778this.OwningCalendar.SelectedDate = Date; 782this.OwningCalendar.SelectedDates.Add(Date); 802this.OwningCalendar.SelectedDates.Remove(Date); 816if (EnsureSelection() && this.OwningCalendar.SelectionMode == CalendarSelectionMode.SingleDate) 818this.OwningCalendar.SelectedDate = Date; 839if (this.OwningCalendar != null && this.OwningCalendarProvider != null) 841IRawElementProviderSimple[] headers = ((ITableProvider)FrameworkElementAutomationPeer.CreatePeerForElement(this.OwningCalendar)).GetColumnHeaders(); 889if (OwningCalendar.DisplayMode != ButtonMode) 891OwningCalendar.DisplayMode = ButtonMode; 895OwningCalendar.DisplayDate = this.Date; 907CalendarAutomationPeer owningCalendarPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar) as CalendarAutomationPeer; 919if (this.OwningCalendar.BlackoutDates.Contains(Date) || 920this.OwningCalendar.SelectionMode == CalendarSelectionMode.None)