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

ASP.NET CheckBoxList CellPadding Property

ASP.NET CheckBoxList CellPadding Property


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

runat="server" CellPadding="15">

Some content

Demo Example »


CheckBoxList Control CheckBoxList control