ASP.NET RadioButtonList CellPadding属性


RadioButtonList 控件

定義と用法

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 控件 其他扩展