5 writes to BoldedDates
System.Windows.Forms.Tests (4)
System\Windows\Forms\MonthCalendarTests.cs (4)
527BoldedDates = value 543calendar.BoldedDates = value; 571calendar.BoldedDates = value; 589calendar.BoldedDates = value;
WinFormsControlsTest (1)
Calendar.Designer.cs (1)
60this.monthCalendar1.BoldedDates = new System.DateTime[] {
43 references to BoldedDates
System.Windows.Forms.Tests (42)
System\Windows\Forms\MonthCalendarTests.cs (42)
34Assert.Empty(control.BoldedDates); 35Assert.Same(control.BoldedDates, control.BoldedDates); 529Assert.Equal(expected, calendar.BoldedDates); 530Assert.NotSame(value, calendar.BoldedDates); 533Assert.NotSame(calendar.BoldedDates, calendar.BoldedDates); 537Assert.Same(calendar.BoldedDates, calendar.BoldedDates); 544Assert.Equal(expected, calendar.BoldedDates); 545Assert.NotSame(value, calendar.BoldedDates); 548Assert.NotSame(calendar.BoldedDates, calendar.BoldedDates); 552Assert.Same(calendar.BoldedDates, calendar.BoldedDates); 572Assert.Equal(expected, calendar.BoldedDates); 573Assert.NotSame(value, calendar.BoldedDates); 576Assert.NotSame(calendar.BoldedDates, calendar.BoldedDates); 580Assert.Same(calendar.BoldedDates, calendar.BoldedDates); 590Assert.Equal(expected, calendar.BoldedDates); 591Assert.NotSame(value, calendar.BoldedDates); 594Assert.NotSame(calendar.BoldedDates, calendar.BoldedDates); 598Assert.Same(calendar.BoldedDates, calendar.BoldedDates); 3096Assert.Equal([new(2019, 10, 3)], calendar.BoldedDates); 3101Assert.Equal([new(2019, 10, 3), new(2019, 10, 5)], calendar.BoldedDates); 3106Assert.Equal([new(2019, 10, 3), new(2019, 10, 5), new(2019, 09, 5)], calendar.BoldedDates); 3111Assert.Equal([new(2019, 10, 3), new(2019, 10, 5), new(2019, 09, 5), new(2018, 09, 5)], calendar.BoldedDates); 3116Assert.Equal([new(2019, 10, 3), new(2019, 10, 5), new(2019, 09, 5), new(2018, 09, 5)], calendar.BoldedDates); 3121Assert.Equal(new DateTime[] { new(2019, 10, 3), new(2019, 10, 5), new(2019, 09, 5), new(2018, 09, 5), DateTime.MinValue }, calendar.BoldedDates); 3126Assert.Equal(new DateTime[] { new(2019, 10, 3), new(2019, 10, 5), new(2019, 09, 5), new(2018, 09, 5), DateTime.MinValue, DateTime.MaxValue }, calendar.BoldedDates); 3143Assert.Equal([new(2019, 10, 3)], calendar.BoldedDates); 3151Assert.Equal([new(2019, 10, 3), new(2019, 10, 5)], calendar.BoldedDates); 3159Assert.Equal([new(2019, 10, 3), new(2019, 10, 5), new(2019, 09, 5)], calendar.BoldedDates); 3167Assert.Equal([new(2019, 10, 3), new(2019, 10, 5), new(2019, 09, 5), new(2018, 09, 5)], calendar.BoldedDates); 3175Assert.Equal([new(2019, 10, 3), new(2019, 10, 5), new(2019, 09, 5), new(2018, 09, 5)], calendar.BoldedDates); 3183Assert.Equal(new DateTime[] { new(2019, 10, 3), new(2019, 10, 5), new(2019, 09, 5), new(2018, 09, 5), DateTime.MinValue }, calendar.BoldedDates); 3191Assert.Equal(new DateTime[] { new(2019, 10, 3), new(2019, 10, 5), new(2019, 09, 5), new(2018, 09, 5), DateTime.MinValue, DateTime.MaxValue }, calendar.BoldedDates); 4702calendar.BoldedDates.Should().BeEmpty();
WinFormsControlsTest (1)
Calendar.cs (1)
22if (monthCalendar1.BoldedDates.Contains(e.Start))