System.Web.UI.WebControls.BaseDataList.CellSpacing Property

Gets or sets the amount of space between cells.

Syntax

[System.ComponentModel.DefaultValue(0)]
public virtual int CellSpacing { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the BaseDataList.CellSpacing property to control the spacing between adjacent cells in a data listing control. This spacing is applied both vertically and horizontally. The cell spacing is uniform for the entire data listing control. Individual cell spacing between each row or column cannot be specified.

Note:

If you set this property to a value greater than 0 and set the BaseDataList.GridLines property to a value that displays the cell borders, a gap is displayed between the borders of adjacent cells. In this situation, the BaseDataList.CellSpacing property controls the size of the gap.

Requirements

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