ASP.NET Calendar CellPaddingProperty
Calendar Control
Definition and Usage
The CellPadding property is used to set the space between the border of a calendar cell and its content.
Syntax
<asp:Calendar CellPadding="pixels" runat="server" />
| Property | Description |
|---|---|
| pixels | Specifies the space between the border of a calendar cell and its content, in pixels. |
Example
The following example shows a calendar with CellPadding of 15:
<form runat="server">
<asp:Calendar id="cal1" runat="server" CellPadding="15" />
</form>
<asp:Calendar id="cal1" runat="server" CellPadding="15" />
</form>
Demo Example »
Calendar Control Other Extensions