This documentation is archived and is not being maintained.

Calendar::FirstDayOfWeek Property

Gets or sets the day of the week to display in the first column of a calendar. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:  System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

[BindableAttribute(true)]
public:
property FirstDayOfWeek FirstDayOfWeek {
	FirstDayOfWeek get ();
	void set (FirstDayOfWeek value);
}
<asp:Calendar FirstDayOfWeek="FirstDayOfWeek" />

Property Value

Type: System.Web.UI.WebControls::FirstDayOfWeek
The day of the week displayed in the first column of a calendar. The default value is Default.

In the ASP.NET API, the FirstDayOfWeek enumeration contains every day of the week, with the default value returning the server's local setting for the first day of the week.

This property functions the same way as the Calendar::FirstDayOfWeek property.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, 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.
Show: