属性 RepeatLayout ของ ASP.NET
การใช้งานและการประกาศ
属性 RepeatLayout ใช้เพื่อใช้รับ หรือตั้งค่าวิธีการแสดงสิ่งที่แสดงใน控件 RadioButtonList
ระบบการใช้
<asp:RadioButtonList RepeatLayout="mode" runat="server"> เนื้อหาบางส่วน </asp:RadioButtonList >
属性 | คำอธิบาย |
---|---|
mode |
กำหนดรูปแบบการแสดงของสิ่งที่แสดงใน控件 RadioButtonList ค่าที่เป็นไปได้:
|
ตัวอย่าง
ตัวอย่างด้านล่างนี้ตั้งค่า属性 RepeatLayout ของ控件 RadioButtonList:
<form runat="server"> <asp:RadioButtonList id="rb1" runat="server"> RepeatLayout="Flow"> เนื้อหาบางส่วน </asp:RadioButtonList> </form>
ตัวอย่าง
- ตั้งค่า属性 RepeatLayout ของ控件 RadioButtonList