Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET CheckBoxList CellSpacing Property

ASP.NET CheckBoxList CellSpacing Property


CheckBoxList Control CheckBoxList control


Definition and Usage

The CellSpacing property is used to get or set the number of pixels between table cells in the CheckBoxList.

**Note:** This property is valid only when RepeatLayout is set to "Table" (the default).

Syntax

Some Content

property Description
pixels Specifies the number of pixels between table cells.

Example

The following example sets the CellSpacing property of a CheckBoxList control:

runat="server" CellSpacing="15">

Some content

Demo Example »


CheckBoxList Control CheckBoxList control