Calendar.ShowTitle Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value indicating whether the title section is displayed.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

member ShowTitle : bool with get, set

Property Value

Type: System.Boolean

true if the Calendar displays the title section; otherwise, false. The default value is true.

Use the ShowTitle property to specify whether the title section is displayed.

System_CAPS_noteNote

Hiding the title section also hides the next and previous month navigation controls.

The appearance of the title section can be customized by using the TitleStyle property.

The following code example demonstrates how to use the ShowTitle property to hide the title header.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: