1 write to OwningCalendar
PresentationFramework (1)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
37
OwningCalendar
= owningCalendar;
25 references to OwningCalendar
PresentationFramework (25)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (25)
89
if (this.
OwningCalendar
!= null)
91
AutomationPeer peer = FrameworkElementAutomationPeer.CreatePeerForElement(this.
OwningCalendar
);
107
if (
OwningCalendar
.DisplayMode != ButtonMode)
114
return
OwningCalendar
.MonthControl?.GetCalendarDayButton(this.Date);
118
return
OwningCalendar
.MonthControl?.GetCalendarButton(this.Date, ButtonMode);
243
string dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.GetCulture(
OwningCalendar
));
244
if (IsDayButton && this.
OwningCalendar
.BlackoutDates.Contains(Date))
324
dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.GetCulture(
OwningCalendar
));
327
dateString = DateTimeHelper.ToYearMonthPatternString(Date, DateTimeHelper.GetCulture(
OwningCalendar
));
330
dateString = DateTimeHelper.ToYearString(Date, DateTimeHelper.GetCulture(
OwningCalendar
));
752
return this.
OwningCalendar
.SelectedDates.Contains(Date);
783
if (this.
OwningCalendar
.SelectionMode == CalendarSelectionMode.SingleDate)
785
this.
OwningCalendar
.SelectedDate = Date;
789
this.
OwningCalendar
.SelectedDates.Add(Date);
809
this.
OwningCalendar
.SelectedDates.Remove(Date);
823
if (EnsureSelection() && this.
OwningCalendar
.SelectionMode == CalendarSelectionMode.SingleDate)
825
this.
OwningCalendar
.SelectedDate = Date;
846
if (this.
OwningCalendar
!= null && this.OwningCalendarProvider != null)
848
IRawElementProviderSimple[] headers = ((ITableProvider)FrameworkElementAutomationPeer.CreatePeerForElement(this.
OwningCalendar
)).GetColumnHeaders();
896
if (
OwningCalendar
.DisplayMode != ButtonMode)
898
OwningCalendar
.DisplayMode = ButtonMode;
902
OwningCalendar
.DisplayDate = this.Date;
914
CalendarAutomationPeer owningCalendarPeer = FrameworkElementAutomationPeer.CreatePeerForElement(
OwningCalendar
) as CalendarAutomationPeer;
926
if (this.
OwningCalendar
.BlackoutDates.Contains(Date) ||
927
this.
OwningCalendar
.SelectionMode == CalendarSelectionMode.None)