ASP.NET CheckBoxList CellPadding Property
CheckBoxList control
Definition and Usage
The CellPadding property is used to get or set the number of pixels between the table cell border and its content.
**Note:** This property is valid only when the RepeatLayout property is set to "Table".
Syntax
Some Content
| property | Description |
|---|---|
| pixels | Specifies the number of pixels between the table cell border and its content. |
Example
The following example sets the CellPadding property of a CheckBoxList control:
Demo Example »
CheckBoxList control