Gets or sets the cell padding of the rendered table.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[BindableAttribute(true)]
[C1CategoryAttribute("Category.Appearance")]
[DefaultValueAttribute()]
[LayoutAttribute(LayoutType.Appearance)]
public virtual int CellPadding { get; set; }
Visual Basic
<BindableAttribute(True)> _
<C1CategoryAttribute("Category.Appearance")> _
<DefaultValueAttribute()> _
<LayoutAttribute(LayoutType.Appearance)> _
Public Overridable Property CellPadding As Integer
	Get
	Set

Field Value

The default value is -1, which indicates that this property is not set.

Remarks

This property controls the distance (in pixels) between the contents of a cell and the cell's border.

See Also