System.Web.UI.WebControls Namespace Calendar Class
Sets or retrieves a value indicating whether the days of the week are displayed.
[ VB ]
Public Property ShowDayHeader As Boolean
[ C# ]
public bool ShowDayHeader {get; set;}
[ C++ ]
public: __property bool get_ShowDayHeader ( );
public: __property void set_ShowDayHeader ( bool );
[ JScript ]
public function get ShowDayHeader ( ) : Boolean;
public function set ShowDayHeader ( Boolean );
This property accepts or returns only a boolean value: true if the days of the week are displayed; otherwise false. The default is true.
The following example demonstrates how to set the ShowDayHeader property to display the days of the week.
<asp:Calendar id = "myCalendar" runat = "server"
ShowDayHeader = "True" />
Calendar Members