Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ColumnHeader Class / RowCount Property
Example


In This Topic
    RowCount Property (ColumnHeader)
    In This Topic
    Gets or sets the number of rows in the column header.
    Syntax
    'Declaration
     
    
    Public Property RowCount As Integer
    'Usage
     
    
    Dim instance As ColumnHeader
    Dim value As Integer
     
    instance.RowCount = value
     
    value = instance.RowCount
    public int RowCount {get; set;}

    Property Value

    Integer number of rows in this column header
    Exceptions
    ExceptionDescription
    Specified row count is less than 0 or greater than 256.
    Remarks

    Use this property to specify the number of rows used for the column header. Use the Columns.Count property to specify the number of non-header rows.

    The minimum value you can set is 1. The maximum value you can set is 255.

    When you set this to a value greater than 1, additional rows are added to the column header.

    This property does not have an effect unless the ColumnHeader.Visible is set to true and the column header rows are not hidden.

    Set the RowHeader.ColumnCount property to specify the number of columns to display as the row header.

    Example
    This example sets the height of the rows in the column header to larger than the default value.
    See Also