10 references to Default
System.Windows.Forms (6)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (4)
80
private const Day DefaultFirstDayOfWeek = Day.
Default
;
380
if (value is < Day.Monday or > Day.
Default
)
393
if (value == Day.
Default
)
1380
if (_firstDayOfWeek == Day.
Default
)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (2)
123
Day.
Default
=> DayOfWeek.Sunday,
201
internal DayOfWeek FirstDayOfWeek => this.TryGetOwnerAs(out MonthCalendar? owner) ? CastDayToDayOfWeek(owner.FirstDayOfWeek) : CastDayToDayOfWeek(Day.
Default
);
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (1)
161
yield return new object[] { Day.
Default
, DayOfWeek.Sunday };
System\Windows\Forms\MonthCalendarTests.cs (3)
79
Assert.Equal(Day.
Default
, control.FirstDayOfWeek);
873
[InlineData(Day.
Default
, 1)]
1139
FirstDayOfWeek = Day.
Default