ASP.NET CellSpacing 属性

返回 ASP.NET RadioButtonList 控件参考手册

定义和用法

CellSpacing 属性用于获取或设置 RadioButtonList 中表格单元格之间的像素数。

注释:该函数仅在 RepeatLayout 属性设置为 "Table" 时有效(默认)。

语法

<asp:RadioButtonList CellSpacing="pixels" runat="server">
some content
</asp:RadioButtonList >
属性 描述
pixels 规定表格单元格之间的像素数。
这个在线速查手册由www.w卐△√卐△√3卐△√x卐△√卐△√u卐△√e.com提供,请勿盗用!

实例

下面的例子设置了 RadioButtonList 控件的 CellSpacing 属性:

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

Some content

</asp:RadioButtonList>
</form>

返回 ASP.NET RadioButtonList 控件参考手册