11 writes to CurrentDate
PresentationFramework (11)
System\Windows\Controls\Calendar.cs (7)
396
c.
CurrentDate
= c.DisplayDate;
569
c.
CurrentDate
= addedDate.Value;
761
this.
CurrentDate
= this.DisplayDate;
898
this.
CurrentDate
= selectedDate;
1001
this.
CurrentDate
= d;
1616
this.HoverStart = this.HoverEnd = this.
CurrentDate
= lastSelectedDate.Value;
1624
this.
CurrentDate
= lastSelectedDate.Value;
System\Windows\Controls\Primitives\CalendarItem.cs (3)
519
this.Owner.
CurrentDate
= selectedDate;
744
this.Owner.
CurrentDate
= selectedDate;
793
this.Owner.
CurrentDate
= selectedDate;
System\Windows\Controls\SelectedDatesCollection.cs (1)
333
this._owner.
CurrentDate
= lastAddedDate;
17 references to CurrentDate
PresentationFramework (17)
System\Windows\Controls\Calendar.cs (13)
407
c.SetCurrentValueInternal(DisplayDateProperty, c.
CurrentDate
);
954
FocusDate(this.DisplayMode == CalendarMode.Month ? this.
CurrentDate
: this.DisplayDate);
1114
this.SelectedDates.AddRange(this.HoverStart.Value, this.
CurrentDate
);
1253
CalendarDayButton currentDayButton = (MonthControl != null) ? MonthControl.GetCalendarDayButton(this.
CurrentDate
) : null;
1255
if (DateTimeHelper.CompareYearMonth(this.
CurrentDate
, this.DisplayDateInternal) != 0 && currentDayButton != null && !currentDayButton.IsInactive)
1332
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, COLS), 1);
1470
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, moveAmmount), moveAmmount);
1497
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.
CurrentDate
, 1), 1);
1524
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.
CurrentDate
, -1), -1);
1552
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, moveAmmount), moveAmmount);
1591
this.HoverStart = this.HoverEnd = this.
CurrentDate
;
1612
OnDayClick(this.
CurrentDate
);
1665
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.
CurrentDate
, -COLS), -1);
System\Windows\Controls\Primitives\CalendarItem.cs (4)
601
DateTime? lastDate = this.Owner.
CurrentDate
;
626
this.Owner.SelectedDates.AddRangeInternal(this.Owner.
CurrentDate
, clickedDate);
710
this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.
CurrentDate
;
732
this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.
CurrentDate
;