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