ASP.NET CheckBoxList CellSpacingPropiedad


CheckBoxList 控件Control CheckBoxList

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 CheckBoxList.

Nota:Esta función solo es válida cuando RepeatLayout está establecido en "Table" (predeterminado).

Sintaxis

<asp:CheckBoxList CellSpacing="pixels" runat="server">
Some Content
</asp:CheckBoxList>

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 CheckBoxList:

<form runat="server">
<asp:CheckBoxList id="rb1"
runat="server" CellSpacing="15">

Some content

</asp:CheckBoxList>
</form>

Ver demostración »

CheckBoxList 控件Control CheckBoxList Otras extensiones