DateTimeControl.FirstDayOfWeek Property

Gets or sets a value that indicates the first day of the week displayed in the calendar.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property FirstDayOfWeek As Integer
    Get
    Set
'Usage
Dim instance As DateTimeControl
Dim value As Integer

value = instance.FirstDayOfWeek

instance.FirstDayOfWeek = value
[BindableAttribute(true)]
public int FirstDayOfWeek { get; set; }

Property Value

Type: System.Int32
An integer in the range 0 to 6 that indicates the first day of the week displayed in the DatePicker; where 0 indicates Sunday, 1 indicates Monday, and so on. The default is 0 (Sunday).

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace