System.Web.UI.WebControls Namespace Calendar Class
Returns the style property of the day-of-the-week header. This property is read-only.
[ VB ]
Public ReadOnly Property DayHeaderStyle As TableItemStyle
[ C# ]
public TableItemStyle DayHeaderStyle {get;}
[ C++ ]
public: __property TableItemStyle* get_DayHeaderStyle ( );
[ JScript ]
public function get DayHeaderStyle ( ) : TableItemStyle;
A TableItemStyle that contains the style properties of the day-of-the week header. The default value is an empty TableItemStyle.
The following example demonstrates how to set the DayHeaderStyle property with a bold font.
<asp:Calendar id = "myCalendar" runat = "server"
DayHeaderStyle-Font-Bold = "True" />
Calendar Members