3 instantiations of CalendarDateRange
PresentationFramework (3)
System\Windows\Controls\Calendar.cs (2)
1599
range = new
CalendarDateRange
(this.HoverStart.Value, lastSelectedDate.Value);
1603
range = new
CalendarDateRange
(lastSelectedDate.Value, this.HoverStart.Value);
System\Windows\Controls\CalendarBlackoutDatesCollection.cs (1)
41
this.Add(new
CalendarDateRange
(DateTime.MinValue, DateTime.Today.AddDays(-1)));
18 references to CalendarDateRange
PresentationFramework (18)
System\Windows\Controls\Calendar.cs (1)
1595
CalendarDateRange
range;
System\Windows\Controls\CalendarBlackoutDatesCollection.cs (15)
15
public sealed class CalendarBlackoutDatesCollection : ObservableCollection<
CalendarDateRange
>
92
public bool ContainsAny(
CalendarDateRange
range)
94
foreach (
CalendarDateRange
item in this)
116
CalendarDateRange
range = null;
162
foreach (
CalendarDateRange
item in Items)
176
protected override void InsertItem(int index,
CalendarDateRange
item)
220
protected override void SetItem(int index,
CalendarDateRange
item)
229
CalendarDateRange
oldItem = null;
256
private void RegisterItem(
CalendarDateRange
item)
268
private void UnRegisterItem(
CalendarDateRange
item)
284
CalendarDateRange
item = sender as
CalendarDateRange
;
301
if (sender is
CalendarDateRange
)
312
private bool IsValid(
CalendarDateRange
item)
348
private
CalendarDateRange
GetContainingDateRange(DateTime date)
System\Windows\Controls\CalendarDateRange.cs (1)
124
internal bool ContainsAny(
CalendarDateRange
range)
System\Windows\Controls\DateTimeHelper.cs (1)
171
public static bool InRange(DateTime date,
CalendarDateRange
range)