5 references to Contains
PresentationFramework (5)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
252if (IsDayButton && this.OwningCalendar.BlackoutDates.Contains(Date)) 902if (this.OwningCalendar.BlackoutDates.Contains(Date) ||
src\Framework\System\Windows\Controls\Calendar.cs (2)
877return (value == null) || (!cal.BlackoutDates.Contains((DateTime)value)); 1171if (cal.BlackoutDates.Contains((DateTime)value))
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
1100this.Owner.BlackoutDates.Contains(dateToAdd.Value));