Latest web development tutorials

ASP.NET propiedad RadioButtonList RepeatLayout

control RadioButtonList control RadioButtonList

Definición y Uso

RepeatDirection propiedad se utiliza para obtener o establecer los elementos de la RadioButtonList se muestra verticalmente u horizontalmente.

gramática

<asp:RadioButtonList RepeatDirection="mode" runat="server">
Some Content
</asp:RadioButtonList >

属性 描述
mode 规定 RadioButtonList 中项目的布局方向。

可能的值:

  • Horizontal - 项目水平显示
  • Vertical - 默认。项目垂直显示


Ejemplos

Los siguientes ejemplos establecen el control RepeatDirection RadioButtonList:

<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatDirection="Horizontal">

Some content

</asp:RadioButtonList>
</form>

La demostración >>

control RadioButtonList control RadioButtonList