Properti RepeatDirection ASP.NET
Definisi dan Penggunaan
Properti RepeatDirection digunakan untuk mendapatkan atau menetapkan apakah item RadioButtonList ditampilkan vertikal atau horizontal
Syarat
<asp:RadioButtonList RepeatDirection="mode" runat="server"> beberapa konten </asp:RadioButtonList >
Properti | Deskripsi |
---|---|
Mode |
Tentukan arah tata letak item di RadioButtonList. Nilai yang mungkin:
|
Contoh
Contoh di bawah ini menata RepeatDirection Kontrol RadioButtonList:
<form runat="server"> <asp:RadioButtonList id="rb1" runat="server" RepeatDirection="Horizontal"> Beberapa konten </asp:RadioButtonList> </form>
Contoh
- Atur RepeatDirection Kontrol RadioButtonList