Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / ColumnCount Property
Example


In This Topic
    ColumnCount Property (SheetView)
    In This Topic
    Gets or sets the number of columns in the sheet.
    Syntax
    'Declaration
     
    
    Public Overridable Property ColumnCount As Integer
    'Usage
     
    
    Dim instance As SheetView
    Dim value As Integer
     
    instance.ColumnCount = value
     
    value = instance.ColumnCount
    public virtual int ColumnCount {get; set;}

    Property Value

    Integer number of columns in the sheet
    Remarks

    To get or set the number of rows in the sheet, use the RowCount property.

    Example
    This example places values in all the cells and, in a button click event, returns the type of sort indicator used in the first column in a sheet with only five columns and eight rows.
    See Also