This documentation is archived and is not being maintained.
Calendar::TitleFormat Property
Visual Studio 2010
Gets or sets the format for the title section.
Assembly: System.Web (in System.Web.dll)
public: property TitleFormat TitleFormat { TitleFormat get (); void set (TitleFormat value); }
<asp:Calendar TitleFormat="TitleFormat" />
Property Value
Type: System.Web.UI.WebControls::TitleFormatOne of the TitleFormat values. The default value is MonthYear.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The specified title format is not one of the TitleFormat values. |
Use the TitleFormat property to specify the format for the title section. This property is set with one of the TitleFormat enumeration values. You can specify whether the title is displayed as the month or both the month and the year.
This property applies only if the ShowTitle property is set to true.
| Topic | Location |
|---|---|
| How to: Customize Calendar Web Server Control Appearance | Building ASP .NET Web Applications |
| How to: Customize Calendar Web Server Control Appearance | Building ASP .NET Web Applications |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: