ASP.NET RepeatDirection eigenschap
Definitie en gebruik
De RepeatDirection-eigenschap wordt gebruikt om de weergave van de items in de RadioButtonList horizontaal of verticaal te instellen
Syntaxis
<asp:RadioButtonList RepeatDirection="mode" runat="server"> Enkele inhoud </asp:RadioButtonList >
Eigenschap | Beschrijving |
---|---|
Mode |
Stelt de lay-outrichting van de items in de RadioButtonList vast. Mogelijke waarden:
|
Voorbeeld
Het volgende voorbeeld stelt de RepeatDirection van de RadioButtonList-knop in:
<form runat="server"> <asp:RadioButtonList id="rb1" runat="server" RepeatDirection="Horizontaal"> Enkele inhoud </asp:RadioButtonList> </form>
Voorbeeld
- Instellen van RepeatDirection voor RadioButtonList-knop