Telerik UI for Windows Phone by Progress

Gets or sets the day that is considered the beginning of the week.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input (in Telerik.Windows.Controls.Input.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public Nullable<DayOfWeek> FirstDayOfWeek { get; set; }
Visual Basic
Public Property FirstDayOfWeek As Nullable(Of DayOfWeek)
	Get
	Set
Visual C++
public:
property Nullable<DayOfWeek> FirstDayOfWeek {
	Nullable<DayOfWeek> get ();
	void set (Nullable<DayOfWeek> value);
}

Remarks

The FirstDayOfWeek property specifies which is the day in the leftmost column of the calendar view, i.e. which is the first day of the week.

If the property is set to null, the Culture will be checked, if a specific culture is set, its FirstDayOfWeek is considered. Otherwise the CurrentCulture will be used.

Generally, the start of the week varies with different cultures so if you would like the Calendar to display the dates as you see them, be sure to set the FirstDayOfWeek property or the Culture property.

CopyC#
calendar.FirstDayOfWeek = CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek;

See Also