1 write to DisplayDateInternal
PresentationFramework (1)
System\Windows\Controls\Calendar.cs (1)
211c.DisplayDateInternal = DateTimeHelper.DiscardDayTime((DateTime)e.NewValue);
15 references to DisplayDateInternal
PresentationFramework (15)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
184if (owner.SelectedDate.HasValue && DateTimeHelper.CompareYearMonth(owner.SelectedDate.Value, owner.DisplayDateInternal) == 0)
System\Windows\Controls\Calendar.cs (9)
489int i = DateTimeHelper.CompareYearMonth(c.DisplayDateInternal, DateTime.Today); 682get { return _currentDate.GetValueOrDefault(this.DisplayDateInternal); } 901if (DateTimeHelper.CompareYearMonth(selectedDate, this.DisplayDateInternal) != 0) 1232if (c.SelectedDate.HasValue && DateTimeHelper.CompareYearMonth(c.SelectedDate.Value, c.DisplayDateInternal) == 0) 1253if (DateTimeHelper.CompareYearMonth(this.CurrentDate, this.DisplayDateInternal) != 0 && currentDayButton != null && !currentDayButton.IsInactive) 1377DateTime? selectedDate = new DateTime(this.DisplayDateInternal.Year, this.DisplayDateInternal.Month, 1); 1440DateTime? selectedDate = new DateTime(this.DisplayDateInternal.Year, this.DisplayDateInternal.Month, 1);
System\Windows\Controls\Primitives\CalendarItem.cs (2)
1099DateTimeHelper.CompareYearMonth(dateToAdd.Value, this.Owner.DisplayDateInternal) != 0); 1301childButton.HasSelectedDays = (DateTimeHelper.CompareYearMonth(day, this.Owner.DisplayDateInternal) == 0);
System\Windows\Controls\SelectedDatesCollection.cs (3)
186int monthDifference = DateTimeHelper.CompareYearMonth(item, this._owner.DisplayDateInternal); 225int monthDifference = DateTimeHelper.CompareYearMonth(this[index], this._owner.DisplayDateInternal); 293int monthDifference = DateTimeHelper.CompareYearMonth(item, this._owner.DisplayDateInternal);