3 writes to DisplayDate
PresentationFramework (3)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
895
OwningCalendar.
DisplayDate
= this.Date;
System\Windows\Controls\Calendar.cs (1)
948
this.
DisplayDate
= newDate.Value;
System\Windows\Controls\DatePicker.cs (1)
170
dp._calendar.
DisplayDate
= (DateTime)value;
39 references to DisplayDate
PresentationFramework (39)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
190
focusedDate = owner.
DisplayDate
;
550
DateTime startDate = (currentDatePeer != null) ? currentDatePeer.Date : OwningCalendar.
DisplayDate
;
564
DateTime startDate = (currentDatePeer != null) ? currentDatePeer.Date : OwningCalendar.
DisplayDate
;
System\Windows\Controls\Calendar.cs (33)
396
c.CurrentDate = c.
DisplayDate
;
721
return DateTimeHelper.DiscardDayTime(
DisplayDate
);
729
return new DateTime(
DisplayDate
.Year, 1, 1);
761
this.CurrentDate = this.
DisplayDate
;
929
newDate = DateTimeHelper.SetYearMonth(this.
DisplayDate
, d);
936
newDate = DateTimeHelper.SetYear(this.
DisplayDate
, d.Year);
952
FocusDate(this.DisplayMode == CalendarMode.Month ? this.CurrentDate : this.
DisplayDate
);
977
result = DateTimeHelper.AddYears(this.
DisplayDate
, offset * YEARS_PER_DECADE);
1025
DateTime? nextDate = GetDateOffset(this.
DisplayDate
, 1, this.DisplayMode);
1034
DateTime? nextDate = GetDateOffset(this.
DisplayDate
, -1, this.DisplayMode);
1232
c.FocusDate(c.
DisplayDate
);
1336
FocusDate(this.
DisplayDate
);
1340
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.
DisplayDate
, YEAR_COLS);
1352
FocusDate(this.
DisplayDate
);
1356
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, YEAR_COLS);
1391
DateTime selectedMonth = new DateTime(this.
DisplayDate
.Year, 12, 1);
1398
DateTime? selectedYear = new DateTime(DateTimeHelper.EndOfDecade(this.
DisplayDate
), 1, 1);
1412
FocusDate(this.
DisplayDate
);
1419
FocusDate(this.
DisplayDate
);
1441
DateTime selectedMonth = new DateTime(this.
DisplayDate
.Year, 1, 1);
1448
DateTime? selectedYear = new DateTime(DateTimeHelper.DecadeOfDate(this.
DisplayDate
), 1, 1);
1469
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.
DisplayDate
, moveAmmount);
1476
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, moveAmmount);
1496
DateTime? selectedMonth = DateTimeHelper.AddYears(this.
DisplayDate
, 1);
1503
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, 10 );
1523
DateTime? selectedMonth = DateTimeHelper.AddYears(this.
DisplayDate
, -1);
1530
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, -10);
1551
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.
DisplayDate
, moveAmmount);
1558
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, moveAmmount);
1653
FocusDate(this.
DisplayDate
);
1669
FocusDate(this.
DisplayDate
);
1673
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.
DisplayDate
, -YEAR_COLS);
1684
DateTime? selectedYear = DateTimeHelper.AddYears(this.
DisplayDate
, -YEAR_COLS);
System\Windows\Controls\DatePicker.cs (1)
171
return dp._calendar.
DisplayDate
;
System\Windows\Controls\Primitives\CalendarItem.cs (2)
135
return (Owner != null) ? Owner.
DisplayDate
: DateTime.Today;
1248
childButton.HasSelectedDays = (Owner.
DisplayDate
.Year == year);