ASP.NET CellSpacing 属性
定義と使用法
CellSpacing 属性は、RadioButtonList 内のテーブルのセル間のピクセル数を取得または設定するために使用されます。
注釈:RepeatLayout 属性が "Table" に設定されている場合(デフォルト)にのみ有効です。
構文
<asp:RadioButtonList CellSpacing="ピクセル" runat="server"> some content </asp:RadioButtonList >
属性 | 説明 |
---|---|
ピクセル | テーブルのセル間のピクセル数を指定します。 |
例
以下の例では、RadioButtonList コントロールの CellSpacing 属性を設定しています:
<form runat="server"> <asp:RadioButtonList id="rb1" runat="server"> CellSpacing="15"> Some content </asp:RadioButtonList> </form>
例
- RadioButtonList コントロールの CellSpacing 属性を設定する