ASP.NET RadioButtonList CellPadding property
Definition and Usage
CellPadding property sets or returns the number of pixels between the border and the contents of the cell.
Note: This function is only set to "Table" is valid in RepeatLayout property.
grammar
<asp:RadioButtonList CellPadding="pixels" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
属性 | 描述 |
---|---|
pixels | 规定单元格边框与内容之间的像素数。 |
Examples
The following examples set CellPadding property RadioButtonList control:
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" CellPadding="15">
Some content
</asp:RadioButtonList>
</form>
<asp:RadioButtonList id="rb1"
runat="server" CellPadding="15">
Some content
</asp:RadioButtonList>
</form>
The demonstration >>
RadioButtonList control