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)));
975
if (e.AddedItems.Count > 0 && this.
SelectedDate
.HasValue && DateTime.Compare((DateTime)e.AddedItems[0], this.
SelectedDate
.Value) != 0)
987
if (!this.
SelectedDate
.HasValue)
1192
if (this.
SelectedDate
!= null)
1198
string selectedDate = DateTimeToString(this.
SelectedDate
.Value);
1207
if (!this.
SelectedDate
.Equals(d))
1215
if (this.
SelectedDate
.HasValue)
1224
if (!this.
SelectedDate
.Equals(d))
1247
return this.
SelectedDate
;
1262
if (this.
SelectedDate
!= null)
1264
string newtext = this.DateTimeToString((DateTime)this.
SelectedDate
);
1266
return this.
SelectedDate
;