16 writes to ShowWeekNumbers
System.Windows.Forms.Tests (15)
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarBodyAccessibleObjectTests.cs (2)
281
using MonthCalendar control = new() {
ShowWeekNumbers
= showWeekNumbers };
304
using MonthCalendar control = new() {
ShowWeekNumbers
= true };
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarCellAccessibleObjectTests.cs (2)
222
ShowWeekNumbers
= true,
266
using MonthCalendar control = new() {
ShowWeekNumbers
= showWeekNumbers };
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarDayOfWeekCellAccessibleObjectTests.cs (1)
171
ShowWeekNumbers
= true,
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarRowAccessibleObjectTests.cs (1)
186
using MonthCalendar control = new() {
ShowWeekNumbers
= true };
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarWeekNumberCellAccessibleObjectTests.cs (2)
132
ShowWeekNumbers
= true
162
ShowWeekNumbers
= true,
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (1)
275
monthCalendar.
ShowWeekNumbers
= showWeekNumbers;
System\Windows\Forms\MonthCalendarTests.cs (6)
2366
ShowWeekNumbers
= value
2372
control.
ShowWeekNumbers
= value;
2377
control.
ShowWeekNumbers
= !value;
2396
control.
ShowWeekNumbers
= value;
2404
control.
ShowWeekNumbers
= value;
2412
control.
ShowWeekNumbers
= !value;
WinFormsControlsTest (1)
Calendar.cs (1)
73
monthCalendar1.
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)
560
internal bool ShowWeekNumbers => this.TryGetOwnerAs(out MonthCalendar? owner) && owner.
ShowWeekNumbers
;
System.Windows.Forms.Tests (7)
System\Windows\Forms\MonthCalendarTests.cs (7)
123
Assert.False(control.
ShowWeekNumbers
);
2368
Assert.Equal(value, control.
ShowWeekNumbers
);
2373
Assert.Equal(value, control.
ShowWeekNumbers
);
2378
Assert.Equal(!value, control.
ShowWeekNumbers
);
2397
Assert.Equal(value, control.
ShowWeekNumbers
);
2405
Assert.Equal(value, control.
ShowWeekNumbers
);
2413
Assert.Equal(!value, control.
ShowWeekNumbers
);
WinFormsControlsTest (1)
Calendar.cs (1)
15
showWeekNumbersCheckBox.Checked = monthCalendar1.
ShowWeekNumbers
;