7 references to DisplayDateStartInternal
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)
1236
_previousButton.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.
DisplayDateStartInternal
, firstDayOfMonth) < 0);
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)
1349
_previousButton.IsEnabled = (this.Owner.
DisplayDateStartInternal
.Year != DisplayDate.Year);
1378
_previousButton.IsEnabled = (decade > this.Owner.
DisplayDateStartInternal
.Year);