1 write to _owner
PresentationFramework (1)
System\Windows\Controls\SelectedDatesCollection.cs (1)
35this._owner = owner;
35 references to _owner
PresentationFramework (35)
System\Windows\Controls\SelectedDatesCollection.cs (35)
110if (this._owner.SelectionMode == CalendarSelectionMode.SingleRange && this.Count > 0) 138this._owner.HoverStart = null; 161if (Calendar.IsValidDateSelection(this._owner, item)) 175if (index == 0 && !(this._owner.SelectedDate.HasValue && DateTime.Compare(this._owner.SelectedDate.Value, item) == 0)) 177this._owner.SelectedDate = item; 186int monthDifference = DateTimeHelper.CompareYearMonth(item, this._owner.DisplayDateInternal); 190this._owner.UpdateCellItems(); 225int monthDifference = DateTimeHelper.CompareYearMonth(this[index], this._owner.DisplayDateInternal); 236this._owner.SelectedDate = this[0]; 240this._owner.SelectedDate = null; 248this._owner.UpdateCellItems(); 277if (DateTime.Compare(this[index], item) != 0 && Calendar.IsValidDateSelection(this._owner, item)) 286if (index == 0 && !(this._owner.SelectedDate.HasValue && DateTime.Compare(this._owner.SelectedDate.Value, item) == 0)) 288this._owner.SelectedDate = item; 293int monthDifference = DateTimeHelper.CompareYearMonth(item, this._owner.DisplayDateInternal); 297this._owner.UpdateCellItems(); 324if (Calendar.IsValidDateSelection(this._owner, current)) 331if (this._owner.SelectionMode == CalendarSelectionMode.SingleRange) 333this._owner.CurrentDate = lastAddedDate; 361if (this._owner.SelectedDate != null) 363this._owner.SelectedDate = null; 373this._owner.UpdateCellItems(); 380if (Calendar.IsValidDateSelection(this._owner, date)) 382switch (this._owner.SelectionMode) 386if (!this._owner.SelectedDate.HasValue || DateTimeHelper.CompareDays(this._owner.SelectedDate.Value, date) != 0) 388this._owner.SelectedDate = date; 392this._owner.SelectedDate = null; 423this._owner.OnSelectedDatesCollectionChanged(new CalendarSelectionChangedEventArgs(Calendar.SelectedDatesChangedEvent, removedItems, addedItems)); 440this._owner.UpdateCellItems(); 445if (this._owner.SelectionMode == CalendarSelectionMode.None) 450if (this._owner.SelectionMode == CalendarSelectionMode.SingleDate && this.Count > 0) 457if (this._owner.SelectionMode == CalendarSelectionMode.SingleRange && !_isAddingRange && this.Count > 0)