11 writes to CurrentDate
PresentationFramework (11)
System\Windows\Controls\Calendar.cs (7)
396c.CurrentDate = c.DisplayDate; 569c.CurrentDate = addedDate.Value; 761this.CurrentDate = this.DisplayDate; 898this.CurrentDate = selectedDate; 1001this.CurrentDate = d; 1616this.HoverStart = this.HoverEnd = this.CurrentDate = lastSelectedDate.Value; 1624this.CurrentDate = lastSelectedDate.Value;
System\Windows\Controls\Primitives\CalendarItem.cs (3)
519this.Owner.CurrentDate = selectedDate; 744this.Owner.CurrentDate = selectedDate; 793this.Owner.CurrentDate = selectedDate;
System\Windows\Controls\SelectedDatesCollection.cs (1)
333this._owner.CurrentDate = lastAddedDate;
17 references to CurrentDate
PresentationFramework (17)
System\Windows\Controls\Calendar.cs (13)
407c.SetCurrentValueInternal(DisplayDateProperty, c.CurrentDate); 954FocusDate(this.DisplayMode == CalendarMode.Month ? this.CurrentDate : this.DisplayDate); 1114this.SelectedDates.AddRange(this.HoverStart.Value, this.CurrentDate); 1253CalendarDayButton currentDayButton = (MonthControl != null) ? MonthControl.GetCalendarDayButton(this.CurrentDate) : null; 1255if (DateTimeHelper.CompareYearMonth(this.CurrentDate, this.DisplayDateInternal) != 0 && currentDayButton != null && !currentDayButton.IsInactive) 1332DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, COLS), 1); 1470DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, moveAmmount), moveAmmount); 1497DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.CurrentDate, 1), 1); 1524DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.CurrentDate, -1), -1); 1552DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, moveAmmount), moveAmmount); 1591this.HoverStart = this.HoverEnd = this.CurrentDate; 1612OnDayClick(this.CurrentDate); 1665DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, -COLS), -1);
System\Windows\Controls\Primitives\CalendarItem.cs (4)
601DateTime? lastDate = this.Owner.CurrentDate; 626this.Owner.SelectedDates.AddRangeInternal(this.Owner.CurrentDate, clickedDate); 710this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.CurrentDate; 732this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.CurrentDate;