3 instantiations of CalendarDateRange
PresentationFramework (3)
src\Framework\System\Windows\Controls\Calendar.cs (2)
1607
range = new
CalendarDateRange
(this.HoverStart.Value, lastSelectedDate.Value);
1611
range = new
CalendarDateRange
(lastSelectedDate.Value, this.HoverStart.Value);
src\Framework\System\Windows\Controls\CalendarBlackoutDatesCollection.cs (1)
44
this.Add(new
CalendarDateRange
(DateTime.MinValue, DateTime.Today.AddDays(-1)));
18 references to CalendarDateRange
PresentationFramework (18)
src\Framework\System\Windows\Controls\Calendar.cs (1)
1603
CalendarDateRange
range;
src\Framework\System\Windows\Controls\CalendarBlackoutDatesCollection.cs (15)
18
public sealed class CalendarBlackoutDatesCollection : ObservableCollection<
CalendarDateRange
>
95
public bool ContainsAny(
CalendarDateRange
range)
97
foreach (
CalendarDateRange
item in this)
119
CalendarDateRange
range = null;
167
foreach (
CalendarDateRange
item in Items)
181
protected override void InsertItem(int index,
CalendarDateRange
item)
225
protected override void SetItem(int index,
CalendarDateRange
item)
234
CalendarDateRange
oldItem = null;
261
private void RegisterItem(
CalendarDateRange
item)
273
private void UnRegisterItem(
CalendarDateRange
item)
289
CalendarDateRange
item = sender as
CalendarDateRange
;
306
if (sender is
CalendarDateRange
)
317
private bool IsValid(
CalendarDateRange
item)
353
private
CalendarDateRange
GetContainingDateRange(DateTime date)
src\Framework\System\Windows\Controls\CalendarDateRange.cs (1)
126
internal bool ContainsAny(
CalendarDateRange
range)
src\Framework\System\Windows\Controls\DateTimeHelper.cs (1)
173
public static bool InRange(DateTime date,
CalendarDateRange
range)