ASP.NET RadioButtonList CellSpacingProperty


RadioButtonList 控件RadioButtonList Control

Definition and Usage

The CellSpacing property is used to get or set the number of pixels between table cells in a RadioButtonList.

Note:This property is only valid when the RepeatLayout property is set to "Table" (default).

Syntax

<asp:RadioButtonList CellSpacing="pixels" runat="server">
Some Content
</asp:RadioButtonList >

Property Description
pixels Specifies the number of pixels between table cells.


Example

The following example sets the CellSpacing property of the RadioButtonList control:

<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" CellSpacing="15">

Some content

</asp:RadioButtonList>
</form>

Demo Example »

RadioButtonList 控件RadioButtonList Control Other Extensions