miken.mkndev
miken.mkndev

Reputation: 1951

Windows Universal Platform CalendarView change start day of week to Monday

I have a CalendarView in my UWP app and I need to change the first day of the week from Sunday to Monday. Does anyone know how to do this?

Thanks

Upvotes: 0

Views: 200

Answers (1)

mrogal.ski
mrogal.ski

Reputation: 5920

Just change the CalendarView.FirstDayOfWeek property. Example:

MeCalendarView.FirstDayOfWeek = DayOfWeek.Monday;

Eventually in XAML :

<CalendarView FirstDayOfWeek="Monday"/>

Upvotes: 2

Related Questions