1 write to DisplayDateInternal
PresentationFramework (1)
src\Framework\System\Windows\Controls\Calendar.cs (1)
216c.DisplayDateInternal = DateTimeHelper.DiscardDayTime((DateTime)e.NewValue);
16 references to DisplayDateInternal
PresentationFramework (16)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
191if (owner.SelectedDate.HasValue && DateTimeHelper.CompareYearMonth(owner.SelectedDate.Value, owner.DisplayDateInternal) == 0)
src\Framework\System\Windows\Controls\Calendar.cs (9)
494int i = DateTimeHelper.CompareYearMonth(c.DisplayDateInternal, DateTime.Today); 687get { return _currentDate.GetValueOrDefault(this.DisplayDateInternal); } 906if (DateTimeHelper.CompareYearMonth(selectedDate, this.DisplayDateInternal) != 0) 1239if (c.SelectedDate.HasValue && DateTimeHelper.CompareYearMonth(c.SelectedDate.Value, c.DisplayDateInternal) == 0) 1260if (DateTimeHelper.CompareYearMonth(this.CurrentDate, this.DisplayDateInternal) != 0 && currentDayButton != null && !currentDayButton.IsInactive) 1386DateTime? selectedDate = new DateTime(this.DisplayDateInternal.Year, this.DisplayDateInternal.Month, 1); 1450DateTime? selectedDate = new DateTime(this.DisplayDateInternal.Year, this.DisplayDateInternal.Month, 1);
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (3)
1105DateTimeHelper.CompareYearMonth(dateToAdd.Value, this.Owner.DisplayDateInternal) != 0); 1308Debug.Assert(this.Owner.DisplayDateInternal != null); 1309childButton.HasSelectedDays = (DateTimeHelper.CompareYearMonth(day, this.Owner.DisplayDateInternal) == 0);
src\Framework\System\Windows\Controls\SelectedDatesCollection.cs (3)
191int monthDifference = DateTimeHelper.CompareYearMonth(item, this._owner.DisplayDateInternal); 230int monthDifference = DateTimeHelper.CompareYearMonth(this[index], this._owner.DisplayDateInternal); 298int monthDifference = DateTimeHelper.CompareYearMonth(item, this._owner.DisplayDateInternal);