ASP.NET CheckBoxList RepeatLayoutPropriétés
Contrôle CheckBoxList
Définition et utilisation
La propriété RepeatLayout permet d'obtenir ou de définir comment les éléments d'un CheckBoxList sont affichés.
Syntaxe
<asp:CheckBoxList RepeatLayout="mode" runat="server">
Un contenu
</asp:CheckBoxList >
Un contenu
</asp:CheckBoxList >
| Propriété | Description |
|---|---|
| mode | Spécifie la disposition des éléments dans un CheckBoxList. Valeurs possibles :
|
Exemple
L'exemple ci-dessous définit la propriété RepeatLayout du contrôle CheckBoxList :
<form runat="server">
<asp:CheckBoxList id="cb1"
runat="server" RepeatLayout="Flow">
Un contenu
</asp:CheckBoxList>
</form>
<asp:CheckBoxList id="cb1"
runat="server" RepeatLayout="Flow">
Un contenu
</asp:CheckBoxList>
</form>
Démo »
Contrôle CheckBoxList Autres extensions