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