ASP.NET RadioButtonList CellSpacing属性


RadioButtonList 控件

定義と用法

CellSpacing プロパティは、RadioButtonList 内のテーブルセル間のピクセル数を取得または設定するために使用されます。

注意:この関数は、RepeatLayout プロパティが "Table" に設定されている場合にのみ有効です(デフォルト)。

语法

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

属性 描述
pixels テーブルセル間のピクセル数を指定します。


实例

以下の例では、RadioButtonList コントロールの CellSpacing プロパティを設定しています:

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

Some content

</asp:RadioButtonList>
</form>

演示实例 »

RadioButtonList 控件 其他扩展