ASP.NET CellPadding 属性

定义和用法

CellPadding 属性用于设置或返回单元格边框与内容之间的像素数。

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

语法

<asp:RadioButtonList CellPadding="pixels" runat="server">
some content
</asp:RadioButtonList >
属性 描述
pixels 规定单元格边框与内容之间的像素数。

实例

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

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

Some content

</asp:RadioButtonList>
</form>

实例

设置 RadioButtonList 控件的 CellPadding 属性
系统帮助 | 给我留言 | 收藏本站
Copyright © 2005-2008 www.cnn84.com All Rights Reserved Ver:2.0
CNN84网是公益性便民网站,是为了给大家的日常生活查询及提供最快捷的出行指南