14 writes to SelectedDate
PresentationFramework (14)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
761this.OwningCalendar.SelectedDate = Date; 801this.OwningCalendar.SelectedDate = Date;
src\Framework\System\Windows\Controls\DatePicker.cs (1)
487dp._calendar.SelectedDate = (DateTime?)value;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (4)
595this.Owner.SelectedDate = clickedDate; 615this.Owner.SelectedDate = clickedDate; 638this.Owner.SelectedDate = clickedDate; 699this.Owner.SelectedDate = selectedDate;
src\Framework\System\Windows\Controls\SelectedDatesCollection.cs (7)
182this._owner.SelectedDate = item; 241this._owner.SelectedDate = this[0]; 245this._owner.SelectedDate = null; 293this._owner.SelectedDate = item; 368this._owner.SelectedDate = null; 393this._owner.SelectedDate = date; 397this._owner.SelectedDate = null;
16 references to SelectedDate
PresentationFramework (16)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
191if (owner.SelectedDate.HasValue && DateTimeHelper.CompareYearMonth(owner.SelectedDate.Value, owner.DisplayDateInternal) == 0) 193focusedDate = owner.SelectedDate.Value;
src\Framework\System\Windows\Controls\Calendar.cs (5)
776if (this.SelectedDate != null) 778return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this))); 1239if (c.SelectedDate.HasValue && DateTimeHelper.CompareYearMonth(c.SelectedDate.Value, c.DisplayDateInternal) == 0) 1241c.FocusDate(c.SelectedDate.Value);
src\Framework\System\Windows\Controls\DatePicker.cs (1)
488return dp._calendar.SelectedDate;
src\Framework\System\Windows\Controls\SelectedDatesCollection.cs (7)
180if (index == 0 && !(this._owner.SelectedDate.HasValue && DateTime.Compare(this._owner.SelectedDate.Value, item) == 0)) 291if (index == 0 && !(this._owner.SelectedDate.HasValue && DateTime.Compare(this._owner.SelectedDate.Value, item) == 0)) 366if (this._owner.SelectedDate != null) 391if (!this._owner.SelectedDate.HasValue || DateTimeHelper.CompareDays(this._owner.SelectedDate.Value, date) != 0)