9 references to FirstDayOfWeek
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\DateAndTime.vb (2)
494
DayOfWeek = CType(DateTimeFormatInfo.CurrentInfo.
FirstDayOfWeek
+ 1, FirstDayOfWeek)
546
FirstDayOfWeekValue = CType(CInt(dtfi.
FirstDayOfWeek
) + 1, FirstDayOfWeek)
PresentationFramework (6)
System\Windows\Controls\Calendar.cs (2)
441
new FrameworkPropertyMetadata(DateTimeHelper.GetCurrentDateFormat().
FirstDayOfWeek
,
504
c.SetCurrentValueInternal(FirstDayOfWeekProperty, DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(c)).
FirstDayOfWeek
);
System\Windows\Controls\DatePicker.cs (2)
102
this.SetCurrentValueInternal(FirstDayOfWeekProperty, DateTimeHelper.GetCurrentDateFormat().
FirstDayOfWeek
);
398
datePicker.SetCurrentValueInternal(FirstDayOfWeekProperty, DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(datePicker)).
FirstDayOfWeek
);
System\Windows\Controls\Primitives\CalendarItem.cs (2)
1022
daytitle.DataContext = shortestDayNames[(childIndex + (int)DateTimeHelper.GetDateFormat( DateTimeHelper.GetCulture(this)).
FirstDayOfWeek
) % shortestDayNames.Length];
1378
i = ((day - DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)).
FirstDayOfWeek
+ NUMBER_OF_DAYS_IN_WEEK) % NUMBER_OF_DAYS_IN_WEEK);
System.Windows.Forms.Tests (1)
System\Windows\Forms\MonthCalendarTests.cs (1)
1144
int expected = (int)CultureInfo.CurrentCulture.DateTimeFormat.
FirstDayOfWeek
+ 6;