16 writes to ShowWeekNumbers
System.Windows.Forms.Tests (15)
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarBodyAccessibleObjectTests.cs (2)
281using MonthCalendar control = new() { ShowWeekNumbers = showWeekNumbers }; 304using MonthCalendar control = new() { ShowWeekNumbers = true };
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarCellAccessibleObjectTests.cs (2)
222ShowWeekNumbers = true, 266using MonthCalendar control = new() { ShowWeekNumbers = showWeekNumbers };
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarDayOfWeekCellAccessibleObjectTests.cs (1)
171ShowWeekNumbers = true,
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarRowAccessibleObjectTests.cs (1)
186using MonthCalendar control = new() { ShowWeekNumbers = true };
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarWeekNumberCellAccessibleObjectTests.cs (2)
132ShowWeekNumbers = true 162ShowWeekNumbers = true,
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (1)
275monthCalendar.ShowWeekNumbers = showWeekNumbers;
System\Windows\Forms\MonthCalendarTests.cs (6)
2366ShowWeekNumbers = value 2372control.ShowWeekNumbers = value; 2377control.ShowWeekNumbers = !value; 2396control.ShowWeekNumbers = value; 2404control.ShowWeekNumbers = value; 2412control.ShowWeekNumbers = !value;
WinFormsControlsTest (1)
Calendar.cs (1)
73monthCalendar1.ShowWeekNumbers = showWeekNumbersCheckBox.Checked;
10 references to ShowWeekNumbers
System.Windows.Forms (2)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarBodyAccessibleObject.cs (1)
148/// A calendar has row headers (week numbers) if <see cref="ShowWeekNumbers"/> is true
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
560internal bool ShowWeekNumbers => this.TryGetOwnerAs(out MonthCalendar? owner) && owner.ShowWeekNumbers;
System.Windows.Forms.Tests (7)
System\Windows\Forms\MonthCalendarTests.cs (7)
123Assert.False(control.ShowWeekNumbers); 2368Assert.Equal(value, control.ShowWeekNumbers); 2373Assert.Equal(value, control.ShowWeekNumbers); 2378Assert.Equal(!value, control.ShowWeekNumbers); 2397Assert.Equal(value, control.ShowWeekNumbers); 2405Assert.Equal(value, control.ShowWeekNumbers); 2413Assert.Equal(!value, control.ShowWeekNumbers);
WinFormsControlsTest (1)
Calendar.cs (1)
15showWeekNumbersCheckBox.Checked = monthCalendar1.ShowWeekNumbers;