11 writes to CurrentDate
PresentationFramework (11)
System\Windows\Controls\Calendar.cs (7)
395c.CurrentDate = c.DisplayDate; 568c.CurrentDate = addedDate.Value; 754this.CurrentDate = this.DisplayDate; 891this.CurrentDate = selectedDate; 992this.CurrentDate = d; 1601this.HoverStart = this.HoverEnd = this.CurrentDate = lastSelectedDate.Value; 1609this.CurrentDate = lastSelectedDate.Value;
System\Windows\Controls\Primitives\CalendarItem.cs (3)
518this.Owner.CurrentDate = selectedDate; 743this.Owner.CurrentDate = selectedDate; 792this.Owner.CurrentDate = selectedDate;
System\Windows\Controls\SelectedDatesCollection.cs (1)
332this._owner.CurrentDate = lastAddedDate;
17 references to CurrentDate
PresentationFramework (17)
System\Windows\Controls\Calendar.cs (13)
406c.SetCurrentValueInternal(DisplayDateProperty, c.CurrentDate); 945FocusDate(this.DisplayMode == CalendarMode.Month ? this.CurrentDate : this.DisplayDate); 1102this.SelectedDates.AddRange(this.HoverStart.Value, this.CurrentDate); 1238CalendarDayButton currentDayButton = MonthControl?.GetCalendarDayButton(this.CurrentDate); 1240if (DateTimeHelper.CompareYearMonth(this.CurrentDate, this.DisplayDateInternal) != 0 && currentDayButton != null && !currentDayButton.IsInactive) 1317DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, COLS), 1); 1455DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, moveAmmount), moveAmmount); 1482DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.CurrentDate, 1), 1); 1509DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.CurrentDate, -1), -1); 1537DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, moveAmmount), moveAmmount); 1576this.HoverStart = this.HoverEnd = this.CurrentDate; 1597OnDayClick(this.CurrentDate); 1650DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, -COLS), -1);
System\Windows\Controls\Primitives\CalendarItem.cs (4)
600DateTime? lastDate = this.Owner.CurrentDate; 625this.Owner.SelectedDates.AddRangeInternal(this.Owner.CurrentDate, clickedDate); 709this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.CurrentDate; 731this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.CurrentDate;