ASP.NET CaptionAlign 属性
定義と使用法
CaptionAlign 属性は、カレンダーのタイトルテキストのアライメントを設定または返します。
文法
<asp:Calendar Caption="text" CaptionAlign="align" runat="server" />
属性 | 説明 |
---|---|
align |
タイトルテキストのアライメントを指定します。 可能な値:
|
例
以下の例では、日历内の Caption を設定し、タイトルを日历の下部に配置しています:
<form runat="server"> <asp:Calendar id="cal1" runat="server" Caption="This is a Caption text" CaptionAlign="bottom" /> </form>
例
- Calendar コントロールの Caption 属性を設定する