3 writes to DisplayDate
PresentationFramework (3)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
902
OwningCalendar.
DisplayDate
= this.Date;
System\Windows\Controls\Calendar.cs (1)
954
this.
DisplayDate
= newDate.Value;
System\Windows\Controls\DatePicker.cs (1)
174
dp._calendar.
DisplayDate
= (DateTime)value;
39 references to DisplayDate
PresentationFramework (39)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
196
focusedDate = owner.
DisplayDate
;
567
DateTime startDate = (currentDatePeer != null) ? currentDatePeer.Date : OwningCalendar.
DisplayDate
;
581
DateTime startDate = (currentDatePeer != null) ? currentDatePeer.Date : OwningCalendar.
DisplayDate
;
System\Windows\Controls\Calendar.cs (33)
400
c.CurrentDate = c.
DisplayDate
;
725
return DateTimeHelper.DiscardDayTime(
DisplayDate
);
733
return new DateTime(
DisplayDate
.Year, 1, 1);
765
this.CurrentDate = this.
DisplayDate
;
935
newDate = DateTimeHelper.SetYearMonth(this.
DisplayDate
, d);
942
newDate = DateTimeHelper.SetYear(this.
DisplayDate
, d.Year);
958
FocusDate(this.DisplayMode == CalendarMode.Month ? this.CurrentDate : this.
DisplayDate
);
983
result = DateTimeHelper.AddYears(this.
DisplayDate
, offset * YEARS_PER_DECADE);
1031
DateTime? nextDate = GetDateOffset(this.
DisplayDate
, 1, this.DisplayMode);
1040
DateTime? nextDate = GetDateOffset(this.
DisplayDate
, -1, this.DisplayMode);
1244
c.FocusDate(c.
DisplayDate
);
1348
FocusDate(this.
DisplayDate
);
1352
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.
DisplayDate
, YEAR_COLS);
1364
FocusDate(this.
DisplayDate
);
1368
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, YEAR_COLS);
1403
DateTime selectedMonth = new DateTime(this.
DisplayDate
.Year, 12, 1);
1410
DateTime? selectedYear = new DateTime(DateTimeHelper.EndOfDecade(this.
DisplayDate
), 1, 1);
1424
FocusDate(this.
DisplayDate
);
1431
FocusDate(this.
DisplayDate
);
1453
DateTime selectedMonth = new DateTime(this.
DisplayDate
.Year, 1, 1);
1460
DateTime? selectedYear = new DateTime(DateTimeHelper.DecadeOfDate(this.
DisplayDate
), 1, 1);
1481
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.
DisplayDate
, moveAmmount);
1488
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, moveAmmount);
1508
DateTime? selectedMonth = DateTimeHelper.AddYears(this.
DisplayDate
, 1);
1515
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, 10 );
1535
DateTime? selectedMonth = DateTimeHelper.AddYears(this.
DisplayDate
, -1);
1542
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, -10);
1563
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.
DisplayDate
, moveAmmount);
1570
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, moveAmmount);
1665
FocusDate(this.
DisplayDate
);
1681
FocusDate(this.
DisplayDate
);
1685
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.
DisplayDate
, -YEAR_COLS);
1696
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, -YEAR_COLS);
System\Windows\Controls\DatePicker.cs (1)
175
return dp._calendar.
DisplayDate
;
System\Windows\Controls\Primitives\CalendarItem.cs (2)
140
return (Owner != null) ? Owner.
DisplayDate
: DateTime.Today;
1261
childButton.HasSelectedDays = (Owner.
DisplayDate
.Year == year);