Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetSkin Class / CellSpacing Property
Example


In This Topic
    CellSpacing Property (SheetSkin)
    In This Topic
    Gets the cell spacing that defines the space between table cells in the displayed HTML page for the sheet.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property CellSpacing As Integer
    'Usage
     
    
    Dim instance As SheetSkin
    Dim value As Integer
     
    value = instance.CellSpacing
    public int CellSpacing {get;}

    Property Value

    Integer number of pixels in the table spacing of cells
    Remarks

    This property sets the distance between the cells on all four sides of the cell.

    HTML tables that represent the displayed sheet can specify a spacing for the cells in the table using the CELLSPACING attribute of the TABLE tag. The cell spacing specifies how much space there is between table cells.

    To set the cell padding, which is the spacing between borders and contents of a cell, refer to the Margin property for the Cell.

    Example
    This example shows the use of the property by returning all the properties for the skin.
    See Also