20 references to SelectedDate
PresentationFramework (20)
System\Windows\Controls\DatePicker.cs (20)
343dp._originalSelectedDate = dp.SelectedDate; 448if (dp.SelectedDate.HasValue) 450DateTime day = dp.SelectedDate.Value; 710if (this.SelectedDate == null) 721if (this.SelectedDate == null) 731_textBox.Text = this.DateTimeToString((DateTime)this.SelectedDate); 742if (this.SelectedDate != null) 744return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this))); 975if (e.AddedItems.Count > 0 && this.SelectedDate.HasValue && DateTime.Compare((DateTime)e.AddedItems[0], this.SelectedDate.Value) != 0) 987if (!this.SelectedDate.HasValue) 1192if (this.SelectedDate != null) 1198string selectedDate = DateTimeToString(this.SelectedDate.Value); 1207if (!this.SelectedDate.Equals(d)) 1215if (this.SelectedDate.HasValue) 1224if (!this.SelectedDate.Equals(d)) 1247return this.SelectedDate; 1262if (this.SelectedDate != null) 1264string newtext = this.DateTimeToString((DateTime)this.SelectedDate); 1266return this.SelectedDate;