9 writes to ShowToday
System.Windows.Forms.Tests (8)
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (2)
95
monthCalendar.
ShowToday
= showToday;
251
using MonthCalendar monthCalendar = new() {
ShowToday
= false };
System\Windows\Forms\MonthCalendarTests.cs (6)
2234
ShowToday
= value
2240
control.
ShowToday
= value;
2245
control.
ShowToday
= !value;
2264
control.
ShowToday
= value;
2272
control.
ShowToday
= value;
2280
control.
ShowToday
= !value;
WinFormsControlsTest (1)
Calendar.cs (1)
78
monthCalendar1.
ShowToday
= showTodayCheckBox.Checked;
10 references to ShowToday
System.Windows.Forms (2)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1201
if (
ShowToday
)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
558
internal bool ShowToday => this.TryGetOwnerAs(out MonthCalendar? owner) && owner.
ShowToday
;
System.Windows.Forms.Tests (7)
System\Windows\Forms\MonthCalendarTests.cs (7)
121
Assert.True(control.
ShowToday
);
2236
Assert.Equal(value, control.
ShowToday
);
2241
Assert.Equal(value, control.
ShowToday
);
2246
Assert.Equal(!value, control.
ShowToday
);
2265
Assert.Equal(value, control.
ShowToday
);
2273
Assert.Equal(value, control.
ShowToday
);
2281
Assert.Equal(!value, control.
ShowToday
);
WinFormsControlsTest (1)
Calendar.cs (1)
16
showTodayCheckBox.Checked = monthCalendar1.
ShowToday
;