11 writes to CurrentDate
PresentationFramework (11)
src\Framework\System\Windows\Controls\Calendar.cs (7)
401c.CurrentDate = c.DisplayDate; 574c.CurrentDate = addedDate.Value; 766this.CurrentDate = this.DisplayDate; 903this.CurrentDate = selectedDate; 1006this.CurrentDate = d; 1624this.HoverStart = this.HoverEnd = this.CurrentDate = lastSelectedDate.Value; 1632this.CurrentDate = lastSelectedDate.Value;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (3)
525this.Owner.CurrentDate = selectedDate; 751this.Owner.CurrentDate = selectedDate; 800this.Owner.CurrentDate = selectedDate;
src\Framework\System\Windows\Controls\SelectedDatesCollection.cs (1)
338this._owner.CurrentDate = lastAddedDate;
17 references to CurrentDate
PresentationFramework (17)
src\Framework\System\Windows\Controls\Calendar.cs (13)
412c.SetCurrentValueInternal(DisplayDateProperty, c.CurrentDate); 959FocusDate(this.DisplayMode == CalendarMode.Month ? this.CurrentDate : this.DisplayDate); 1119this.SelectedDates.AddRange(this.HoverStart.Value, this.CurrentDate); 1258CalendarDayButton currentDayButton = (MonthControl != null) ? MonthControl.GetCalendarDayButton(this.CurrentDate) : null; 1260if (DateTimeHelper.CompareYearMonth(this.CurrentDate, this.DisplayDateInternal) != 0 && currentDayButton != null && !currentDayButton.IsInactive) 1337DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, COLS), 1); 1478DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, moveAmmount), moveAmmount); 1505DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.CurrentDate, 1), 1); 1532DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.CurrentDate, -1), -1); 1560DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, moveAmmount), moveAmmount); 1599this.HoverStart = this.HoverEnd = this.CurrentDate; 1620OnDayClick(this.CurrentDate); 1673DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, -COLS), -1);
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (4)
607DateTime? lastDate = this.Owner.CurrentDate; 632this.Owner.SelectedDates.AddRangeInternal(this.Owner.CurrentDate, clickedDate); 717this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.CurrentDate; 739this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.CurrentDate;