7 references to DisplayDateEndInternal
PresentationFramework (7)
src\Framework\System\Windows\Controls\Calendar.cs (1)
1177
return DateTime.Compare((DateTime)value, cal.DisplayDateStartInternal) >= 0 && DateTime.Compare((DateTime)value, cal.
DisplayDateEndInternal
) <= 0;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (6)
1088
if (DateTimeHelper.CompareDays(dateToAdd.Value, this.Owner.DisplayDateStartInternal) < 0 || DateTimeHelper.CompareDays(dateToAdd.Value, this.Owner.
DisplayDateEndInternal
) > 0)
1226
_nextButton.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.
DisplayDateEndInternal
, firstDayOfNextMonth) > -1);
1266
if (year < this.Owner.DisplayDateStartInternal.Year || year > this.Owner.
DisplayDateEndInternal
.Year)
1311
if (DateTimeHelper.CompareYearMonth(day, this.Owner.DisplayDateStartInternal) < 0 || DateTimeHelper.CompareYearMonth(day, this.Owner.
DisplayDateEndInternal
) > 0)
1341
_nextButton.IsEnabled = (this.Owner.
DisplayDateEndInternal
.Year != DisplayDate.Year);
1370
_nextButton.IsEnabled = (this.Owner.
DisplayDateEndInternal
.Year > decadeEnd);