ASP.NET RadioButtonList CellSpacing 屬性
ASP.NET RadioButtonList CellSpacing 屬性

定義和用法
CellSpacing 屬性用于獲取或設(shè)置 RadioButtonList 中表格單元格之間的像素?cái)?shù)。
注意:該函數(shù)僅在 RepeatLayout 屬性設(shè)置為 "Table" 時(shí)有效(默認(rèn))。
語(yǔ)法
<asp:RadioButtonList CellSpacing="pixels" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
屬性 | 描述 |
---|---|
pixels | 規(guī)定表格單元格之間的像素?cái)?shù)。 |
實(shí)例
下面的實(shí)例設(shè)置了 RadioButtonList 控件的 CellSpacing 屬性:
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" CellSpacing="15">
Some content
</asp:RadioButtonList>
</form>
<asp:RadioButtonList id="rb1"
runat="server" CellSpacing="15">
Some content
</asp:RadioButtonList>
</form>
演示實(shí)例 ?

相關(guān)文章
- ASP.NET Web Pages 教程
- ASP.NET Web Pages 類(lèi)參考手冊(cè)
- ASP.NET Razor VB 變量
- ASP.NET Button 控件
- ASP.NET XML 數(shù)據(jù)綁定
- ASP.NET RangeValidator 控件
- ASP.NET Image 控件
- WebSecurity ConfirmAccount 方法
- WebSecurity RequireUser 方法
- HTML Inputbutton
- HTML Table 2
- ASP.NET HTML 控件 Hyperlink
- Textbox 3
- ASP.NET HTML 控件 數(shù)據(jù)庫(kù)鏈接 - 綁定一個(gè) Repeater 控件
- VB 實(shí)例 實(shí)例解釋
- VB 實(shí)例 使用 WebGrid 顯示數(shù)據(jù)
- C# 實(shí)例 使用 Chart 幫助器 根據(jù)數(shù)組顯示條形圖
- htmlform
- htmlimage
- ASP.NET Calendar CaptionAlign 屬性