20 references to SelectedDate
PresentationFramework (20)
System\Windows\Controls\DatePicker.cs (20)
343
dp._originalSelectedDate = dp.
SelectedDate
;
448
if (dp.
SelectedDate
.HasValue)
450
DateTime day = dp.
SelectedDate
.Value;
710
if (this.
SelectedDate
== null)
721
if (this.
SelectedDate
== null)
731
_textBox.Text = this.DateTimeToString((DateTime)this.
SelectedDate
);
742
if (this.
SelectedDate
!= null)
744
return this.
SelectedDate
.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)));
972
if (e.AddedItems.Count > 0 && this.
SelectedDate
.HasValue && DateTime.Compare((DateTime)e.AddedItems[0], this.
SelectedDate
.Value) != 0)
984
if (!this.
SelectedDate
.HasValue)
1191
if (this.
SelectedDate
!= null)
1197
string selectedDate = DateTimeToString(this.
SelectedDate
.Value);
1206
if (!this.
SelectedDate
.Equals(d))
1214
if (this.
SelectedDate
.HasValue)
1223
if (!this.
SelectedDate
.Equals(d))
1246
return this.
SelectedDate
;
1261
if (this.
SelectedDate
!= null)
1263
string newtext = this.DateTimeToString((DateTime)this.
SelectedDate
);
1265
return this.
SelectedDate
;