asp.net.ph

Calendar.ShowTitle Property

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 );

Property Value

This property accepts or returns only a boolean value: true if the Calendar displays the title; otherwise false. The default value is true.

Remarks

Hiding the calendar title hides the month name and the month selection hyperlinks.

Example

The following example demonstrates how to set the ShowNextPrevMonth property to display the title block.

<asp:Calendar id = "myCalendar" runat = "server"
   ShowTitle = "True" />
See Also

Calendar Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph