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