Properti CellSpacing ASP.NET

Definisi dan Penggunaan

Properti CellSpacing digunakan untuk mendapatkan atau menata pixel antara sel tabel di RadioButtonList.

Keterangan:Fungsi ini hanya berlaku saat properti RepeatLayout diatur menjadi "Table" (default).

Sintaks

<asp:RadioButtonList CellSpacing="pixel" runat="server">
beberapa konten
</asp:RadioButtonList >
Properti Deskripsi
pixel Tentukan pixel antara sel tabel.

Contoh

Contoh di bawah ini menata properti CellSpacing Kontrol RadioButtonList:

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

Contoh

Atur Properti CellSpacing Kontrol RadioButtonList