System.Web.UI.WebControls Namespace Calendar Class
Returns the style properties of the Calendar title. This property is read-only.
[ VB ]
Public ReadOnly Property TitleStyle As Style
[ C# ]
public Style TitleStyle {get;}
[ C++ ]
public: __property Style* get_TitleStyle ( );
[ JScript ]
public function get TitleStyle ( ) : Style;
A Style that contains the style properties for the Calendar title. The default value is an empty Style.
The following example demonstrates how to set the TitleStyle to a red foreColor.
<asp:Calendar id = "myCalendar" runat = "server"
TitleStyle-ForeColor = "#ff0000" />
Calendar Members