11 writes to CurrentDate
PresentationFramework (11)
System\Windows\Controls\Calendar.cs (7)
400
c.
CurrentDate
= c.DisplayDate;
573
c.
CurrentDate
= addedDate.Value;
765
this.
CurrentDate
= this.DisplayDate;
902
this.
CurrentDate
= selectedDate;
1005
this.
CurrentDate
= d;
1620
this.HoverStart = this.HoverEnd = this.
CurrentDate
= lastSelectedDate.Value;
1628
this.
CurrentDate
= lastSelectedDate.Value;
System\Windows\Controls\Primitives\CalendarItem.cs (3)
524
this.Owner.
CurrentDate
= selectedDate;
749
this.Owner.
CurrentDate
= selectedDate;
798
this.Owner.
CurrentDate
= selectedDate;
System\Windows\Controls\SelectedDatesCollection.cs (1)
337
this._owner.
CurrentDate
= lastAddedDate;
17 references to CurrentDate
PresentationFramework (17)
System\Windows\Controls\Calendar.cs (13)
411
c.SetCurrentValueInternal(DisplayDateProperty, c.
CurrentDate
);
958
FocusDate(this.DisplayMode == CalendarMode.Month ? this.
CurrentDate
: this.DisplayDate);
1118
this.SelectedDates.AddRange(this.HoverStart.Value, this.
CurrentDate
);
1257
CalendarDayButton currentDayButton = (MonthControl != null) ? MonthControl.GetCalendarDayButton(this.
CurrentDate
) : null;
1259
if (DateTimeHelper.CompareYearMonth(this.
CurrentDate
, this.DisplayDateInternal) != 0 && currentDayButton != null && !currentDayButton.IsInactive)
1336
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, COLS), 1);
1474
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, moveAmmount), moveAmmount);
1501
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.
CurrentDate
, 1), 1);
1528
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.
CurrentDate
, -1), -1);
1556
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, moveAmmount), moveAmmount);
1595
this.HoverStart = this.HoverEnd = this.
CurrentDate
;
1616
OnDayClick(this.
CurrentDate
);
1669
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, -COLS), -1);
System\Windows\Controls\Primitives\CalendarItem.cs (4)
606
DateTime? lastDate = this.Owner.
CurrentDate
;
631
this.Owner.SelectedDates.AddRangeInternal(this.Owner.
CurrentDate
, clickedDate);
715
this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.
CurrentDate
;
737
this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.
CurrentDate
;