20 references to SelectedDate
PresentationFramework (20)
System\Windows\Controls\DatePicker.cs (20)
342
dp._originalSelectedDate = dp.
SelectedDate
;
447
if (dp.
SelectedDate
.HasValue)
449
DateTime day = dp.
SelectedDate
.Value;
709
if (this.
SelectedDate
== null)
720
if (this.
SelectedDate
== null)
730
_textBox.Text = this.DateTimeToString((DateTime)this.
SelectedDate
);
741
if (this.
SelectedDate
!= null)
743
return this.
SelectedDate
.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)));
971
if (e.AddedItems.Count > 0 && this.
SelectedDate
.HasValue && DateTime.Compare((DateTime)e.AddedItems[0], this.
SelectedDate
.Value) != 0)
983
if (!this.
SelectedDate
.HasValue)
1190
if (this.
SelectedDate
!= null)
1196
string selectedDate = DateTimeToString(this.
SelectedDate
.Value);
1205
if (!this.
SelectedDate
.Equals(d))
1213
if (this.
SelectedDate
.HasValue)
1222
if (!this.
SelectedDate
.Equals(d))
1245
return this.
SelectedDate
;
1260
if (this.
SelectedDate
!= null)
1262
string newtext = this.DateTimeToString((DateTime)this.
SelectedDate
);
1264
return this.
SelectedDate
;