ASP.NET CheckBoxList RepeatLayoutPropiedad
Control CheckBoxList
Definición y uso
La propiedad RepeatLayout se utiliza para obtener o establecer cómo se muestran los elementos en CheckBoxList.
Sintaxis
<asp:CheckBoxList RepeatLayout="mode" runat="server">
Some Content
</asp:CheckBoxList >
Some Content
</asp:CheckBoxList >
| Propiedad | Descripción |
|---|---|
| mode | Especifica el diseño de los elementos en CheckBoxList. Valores posibles:
|
Ejemplo
El siguiente ejemplo establece la propiedad RepeatLayout del control CheckBoxList:
<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>
Ver demostración »
Control CheckBoxList Otras extensiones