ASP.NET RadioButtonList CellSpacingPropiedad
Control RadioButtonList
Definición y uso
La propiedad CellSpacing se utiliza para obtener o establecer el número de píxeles entre las celdas de la tabla en RadioButtonList.
Nota:Esta función solo es efectiva cuando la propiedad RepeatLayout está establecida en "Table" (predeterminado).
Sintaxis
<asp:RadioButtonList CellSpacing="pixels" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
| Propiedad | Descripción |
|---|---|
| pixels | Especifica el número de píxeles entre las celdas de la tabla. |
Ejemplo
El siguiente ejemplo establece la propiedad CellSpacing del control RadioButtonList:
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" CellSpacing="15">
Some content
</asp:RadioButtonList>
</form>
<asp:RadioButtonList id="rb1"
runat="server" CellSpacing="15">
Some content
</asp:RadioButtonList>
</form>
Ver demostración »
Control RadioButtonList Otras extensiones