11 writes to CurrentDate
PresentationFramework (11)
System\Windows\Controls\Calendar.cs (7)
395
c.
CurrentDate
= c.DisplayDate;
568
c.
CurrentDate
= addedDate.Value;
754
this.
CurrentDate
= this.DisplayDate;
891
this.
CurrentDate
= selectedDate;
992
this.
CurrentDate
= d;
1601
this.HoverStart = this.HoverEnd = this.
CurrentDate
= lastSelectedDate.Value;
1609
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
);
945
FocusDate(this.DisplayMode == CalendarMode.Month ? this.
CurrentDate
: this.DisplayDate);
1102
this.SelectedDates.AddRange(this.HoverStart.Value, this.
CurrentDate
);
1238
CalendarDayButton currentDayButton = MonthControl?.GetCalendarDayButton(this.
CurrentDate
);
1240
if (DateTimeHelper.CompareYearMonth(this.
CurrentDate
, this.DisplayDateInternal) != 0 && currentDayButton != null && !currentDayButton.IsInactive)
1317
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, COLS), 1);
1455
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, moveAmmount), moveAmmount);
1482
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.
CurrentDate
, 1), 1);
1509
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.
CurrentDate
, -1), -1);
1537
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, moveAmmount), moveAmmount);
1576
this.HoverStart = this.HoverEnd = this.
CurrentDate
;
1597
OnDayClick(this.
CurrentDate
);
1650
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
;