Properti CellPadding ASP.NET
Definisi dan Penggunaan
Properti CellPadding digunakan untuk menata atau mengembalikan jumlah piksel antara garis border sel dan konten.
Keterangan:Fungsi ini hanya berlaku saat properti RepeatLayout diatur menjadi "Table".
Sintaks
<asp:RadioButtonList CellPadding="pixels" runat="server"> beberapa konten </asp:RadioButtonList >
Properti | Deskripsi |
---|---|
pixels | Tentukan jumlah piksel antara garis border sel dan konten. |
Contoh
Contoh di bawah ini menata properti CellPadding kontrol RadioButtonList:
<form runat="server"> <asp:RadioButtonList id="rb1" runat="server" CellPadding="15"> Beberapa konten </asp:RadioButtonList> </form>
Contoh
- Atur Properti CellPadding Kontrol RadioButtonList