ASP.NET 教程教程
ASP.NET RadioButtonList CellPadding 属性
ASP.NET RadioButtonList CellPadding 属性
ASP.NET RadioButtonList CellPadding 属性
RadioButtonList 控件
定义和用法
CellPadding 属性用于设置或返回单元格边框与内容之间的像素数。
注意:该函数仅在 RepeatLayout 属性设置为 "Table" 时有效。
语法
<asp:RadioButtonList CellPadding="pixels" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
属性 | 描述 |
---|---|
pixels | 规定单元格边框与内容之间的像素数。 |
实例
下面的实例设置了 RadioButtonList 控件的 CellPadding 属性:
<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>
演示实例 »
RadioButtonList 控件
ASP.NET RadioButtonList CellPadding 属性 |
---|
ASP.NET 教程
ASP.NET 是微软公司提出的一个使用 HTML、CSS、JavaScript 和服务器脚本创建网页和网站的开发框架。ASP.NET 支持三种不同的开发模式:单页面模式、MVC 模式、事件驱动模式。