ASP.NET Caption プロパティ

定義と用法

Caption プロパティは、日历のタイトルとして表示されるテキストを設定または返します。

構文

<asp:Calendar Caption="text" runat="server" />
プロパティ 説明
テキスト タイトルとして表示される日历のテキスト

以下の例では、日历の Caption プロパティを設定しています:

<form runat="server">
<asp:Calendar id="cal1" runat="server" Caption="This is a Caption text" />
</form>

Calendar コントロールの Caption プロパティを設定する