System.Web.UI.WebControls.CheckBoxList.CellPadding Property

Gets or sets the distance (in pixels) between the border and contents of the cell.

Syntax

[System.ComponentModel.DefaultValue(-1)]
public virtual int CellPadding { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to control the spacing between the contents of a cell and the cell's border in the System.Web.UI.WebControls.CheckBoxList control.

The padding amount specified is added to all four sides of a cell with the height of the tallest cell and width of the widest cell in the System.Web.UI.WebControls.CheckBoxList control. The resulting cell size is applied uniformly to all cells in the System.Web.UI.WebControls.CheckBoxList control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0