Redigera

Dela via


Calendar.FirstDayOfWeek Property

Definition

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 Mobile Apps & Sites with ASP.NET.

public:
 property System::Web::UI::WebControls::FirstDayOfWeek FirstDayOfWeek { System::Web::UI::WebControls::FirstDayOfWeek get(); void set(System::Web::UI::WebControls::FirstDayOfWeek value); };
[System.ComponentModel.Bindable(true)]
public System.Web.UI.WebControls.FirstDayOfWeek FirstDayOfWeek { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.FirstDayOfWeek : System.Web.UI.WebControls.FirstDayOfWeek with get, set
Public Property FirstDayOfWeek As FirstDayOfWeek

Property Value

The day of the week displayed in the first column of a calendar. The default value is Default.

Attributes

Remarks

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.

Applies to

See also