FirstDayOfWeek Enumeration

 

Specifies the day to display as the first day of the week on the Calendar control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public enum class FirstDayOfWeek

Member nameDescription
Default

Indicates that the first day of the week is specified by the system settings.

Friday

Indicates that the first day of the week is Friday.

Monday

Indicates that the first day of the week is Monday.

Saturday

Indicates that the first day of the week is Saturday.

Sunday

Indicates that the first day of the week is Sunday.

Thursday

Indicates that the first day of the week is Thursday.

Tuesday

Indicates that the first day of the week is Tuesday.

Wednesday

Indicates that the first day of the week is Wednesday.

The FirstDayOfWeek enumeration represents the values that specify which day to display as the first day of the week on the Calendar control.

The following code example demonstrates how to use a drop-down list to set the first day of the week for the Calendar control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: