ASP.NET RadioButtonList RepeatLayoutPropiedad


RadioButtonList 控件Control RadioButtonList

Definición y uso

La propiedad RepeatLayout se usa para obtener o establecer cómo se muestran los elementos en el RadioButtonList.

Sintaxis

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

Propiedad Descripción
mode Especifica el diseño de los elementos en el RadioButtonList.

Valores posibles:

  • Flow: los elementos no se muestran en una tabla.
  • Table: predeterminado. Los elementos se muestran en una tabla.


Ejemplo

El siguiente ejemplo establece la propiedad RepeatLayout del control RadioButtonList:

<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatLayout="Flow">

Some content

</asp:RadioButtonList>
</form>

Ver demostración »

RadioButtonList 控件Control RadioButtonList Otras extensiones