11 writes to CurrentDate
PresentationFramework (11)
System\Windows\Controls\Calendar.cs (7)
395
c.
CurrentDate
= c.DisplayDate;
568
c.
CurrentDate
= addedDate.Value;
760
this.
CurrentDate
= this.DisplayDate;
897
this.
CurrentDate
= selectedDate;
998
this.
CurrentDate
= d;
1607
this.HoverStart = this.HoverEnd = this.
CurrentDate
= lastSelectedDate.Value;
1615
this.
CurrentDate
= lastSelectedDate.Value;
System\Windows\Controls\Primitives\CalendarItem.cs (3)
518
this.Owner.
CurrentDate
= selectedDate;
743
this.Owner.
CurrentDate
= selectedDate;
792
this.Owner.
CurrentDate
= selectedDate;
System\Windows\Controls\SelectedDatesCollection.cs (1)
332
this._owner.
CurrentDate
= lastAddedDate;
17 references to CurrentDate
PresentationFramework (17)
System\Windows\Controls\Calendar.cs (13)
406
c.SetCurrentValueInternal(DisplayDateProperty, c.
CurrentDate
);
951
FocusDate(this.DisplayMode == CalendarMode.Month ? this.
CurrentDate
: this.DisplayDate);
1108
this.SelectedDates.AddRange(this.HoverStart.Value, this.
CurrentDate
);
1244
CalendarDayButton currentDayButton = MonthControl?.GetCalendarDayButton(this.
CurrentDate
);
1246
if (DateTimeHelper.CompareYearMonth(this.
CurrentDate
, this.DisplayDateInternal) != 0 && currentDayButton != null && !currentDayButton.IsInactive)
1323
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, COLS), 1);
1461
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, moveAmmount), moveAmmount);
1488
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.
CurrentDate
, 1), 1);
1515
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.
CurrentDate
, -1), -1);
1543
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, moveAmmount), moveAmmount);
1582
this.HoverStart = this.HoverEnd = this.
CurrentDate
;
1603
OnDayClick(this.
CurrentDate
);
1656
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, -COLS), -1);
System\Windows\Controls\Primitives\CalendarItem.cs (4)
600
DateTime? lastDate = this.Owner.
CurrentDate
;
625
this.Owner.SelectedDates.AddRangeInternal(this.Owner.
CurrentDate
, clickedDate);
709
this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.
CurrentDate
;
731
this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.
CurrentDate
;