3 instantiations of CalendarDateRange
PresentationFramework (3)
System\Windows\Controls\Calendar.cs (2)
1603
range = new
CalendarDateRange
(this.HoverStart.Value, lastSelectedDate.Value);
1607
range = new
CalendarDateRange
(lastSelectedDate.Value, this.HoverStart.Value);
System\Windows\Controls\CalendarBlackoutDatesCollection.cs (1)
43
this.Add(new
CalendarDateRange
(DateTime.MinValue, DateTime.Today.AddDays(-1)));
18 references to CalendarDateRange
PresentationFramework (18)
System\Windows\Controls\Calendar.cs (1)
1599
CalendarDateRange
range;
System\Windows\Controls\CalendarBlackoutDatesCollection.cs (15)
17
public sealed class CalendarBlackoutDatesCollection : ObservableCollection<
CalendarDateRange
>
94
public bool ContainsAny(
CalendarDateRange
range)
96
foreach (
CalendarDateRange
item in this)
118
CalendarDateRange
range = null;
164
foreach (
CalendarDateRange
item in Items)
178
protected override void InsertItem(int index,
CalendarDateRange
item)
222
protected override void SetItem(int index,
CalendarDateRange
item)
231
CalendarDateRange
oldItem = null;
258
private void RegisterItem(
CalendarDateRange
item)
270
private void UnRegisterItem(
CalendarDateRange
item)
286
CalendarDateRange
item = sender as
CalendarDateRange
;
303
if (sender is
CalendarDateRange
)
314
private bool IsValid(
CalendarDateRange
item)
350
private
CalendarDateRange
GetContainingDateRange(DateTime date)
System\Windows\Controls\CalendarDateRange.cs (1)
125
internal bool ContainsAny(
CalendarDateRange
range)
System\Windows\Controls\DateTimeHelper.cs (1)
173
public static bool InRange(DateTime date,
CalendarDateRange
range)