System.Web.UI.WebControls Namespace Calendar Class
Sets or retrieves a value indicating whether the title is displayed.
[ VB ]
Public Property ShowTitle As Boolean
[ C# ]
public bool ShowTitle {get; set;}
[ C++ ]
public: __property bool get_ShowTitle ( );
public: __property void set_ShowTitle ( bool );
[ JScript ]
public function get ShowTitle ( ) : Boolean;
public function set ShowTitle ( Boolean );
This property accepts or returns only a boolean value: true if the Calendar displays the title; otherwise false. The default value is true.
Hiding the calendar title hides the month name and the month selection hyperlinks.
The following example demonstrates how to set the ShowNextPrevMonth property to display the title block.
<asp:Calendar id = "myCalendar" runat = "server"
ShowTitle = "True" />
Calendar Members