Easy Tutorial
❮ Prop Webcontrol Hyperlink Imageurl Aspnet ❯

ASP.NET CheckBoxList CellPadding Property



Definition and Usage

The CellPadding property is used to get or set the number of pixels between the border and the content of a table cell.

Note: This function is only effective when the RepeatLayout property is set to "Table".

Syntax

Property Description
pixels Specifies the number of pixels between the border and the content of a table cell.

Example

The following example sets the CellPadding property of the CheckBoxList control:


❮ Prop Webcontrol Hyperlink Imageurl Aspnet ❯