Calendar::TitleFormat Property
.NET Framework (current version)
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); }
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.
.NET Framework
Available since 1.1
Available since 1.1
Show: