ASP.NET CheckBoxList RepeatLayout property
Definition and Usage
RepeatLayout property is used to get or set how to display items in the CheckBoxList.
grammar
<asp:CheckBoxList RepeatLayout="mode" runat="server">
Some Content
</asp:CheckBoxList >
Some Content
</asp:CheckBoxList >
属性 | 描述 |
---|---|
mode | 规定 CheckBoxList 中项目的布局。 可能的值:
|
Examples
The following examples set RepeatLayout CheckBoxList control:
<form runat="server">
<asp:CheckBoxList id="cb1"
runat="server" RepeatLayout="Flow">
Some content
</asp:CheckBoxList>
</form>
<asp:CheckBoxList id="cb1"
runat="server" RepeatLayout="Flow">
Some content
</asp:CheckBoxList>
</form>
The demonstration >>
The CheckBoxList