Gets or sets the day that is considered the beginning of the week.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Metadata properties set to true
The following example creates a DatePicker that displays Monday as the first day of the week.
Dim datePickerFor2009 As New DatePicker() datePickerFor2009.SelectedDate = New DateTime(2009, 3, 23) datePickerFor2009.DisplayDateStart = New DateTime(2009, 1, 1) datePickerFor2009.DisplayDateEnd = New DateTime(2009, 12, 31) datePickerFor2009.SelectedDateFormat = DatePickerFormat.[Long] datePickerFor2009.FirstDayOfWeek = DayOfWeek.Monday ' root is a Panel that is defined elsewhere. root.Children.Add(datePickerFor2009)
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.