System.Web.UI.WebControls Namespace Calendar Class
Sets or retrieves the day of the week to display in the calendar's first column.
[ VB ]
Public Property FirstDayOfWeek As FirstDayOfWeek
[ C# ]
public FirstDayOfWeek FirstDayOfWeek {get; set;}
[ C++ ]
public: __property FirstDayOfWeek get_FirstDayOfWeek ( );
public: __property void set_FirstDayOfWeek ( FirstDayOfWeek );
[ JScript ]
public function get FirstDayOfWeek ( ) : FirstDayOfWeek;
public function set FirstDayOfWeek ( FirstDayOfWeek );
One of the FirstDayOfWeek values. The default is Default.
When programming this property is set using the FirstDayOfWeek enumeration.
The default value uses the server's local settings to determine the day.
The following example demonstrates how to set the FirstDayOfWeek property to Monday.
<asp:Calendar id = "myCalendar" runat = "server"
FirstDayOfWeek = "Monday" />
Calendar Members