ASP.NET Calendar CaptionAlign property
Definition and Usage
Alignment CaptionAlign property sets or returns the calendar title text.
grammar
<asp:Calendar Caption="text" CaptionAlign="align" runat="server" />
属性 | 描述 |
---|---|
align | 规定标题文本的对齐方式。 可能的值:
|
Examples
The following example sets the calendar Caption property, the title to the bottom of the calendar arrangement:
<form runat="server">
<asp:Calendar id="cal1" runat="server"
Caption="This is a Caption text"
CaptionAlign="bottom" />
</form>
<asp:Calendar id="cal1" runat="server"
Caption="This is a Caption text"
CaptionAlign="bottom" />
</form>
The demonstration >>
Calendar Control