Visual Basic (Declaration) | |
---|---|
Public Property RowCount As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ColumnHeader Dim value As Integer instance.RowCount = value value = instance.RowCount |
C# | |
---|---|
public int RowCount {get; set;} |
Property Value
Integer number of rows in this column headerException | Description |
---|---|
System.ArgumentOutOfRangeException | Specified row count is less than 0 or greater than 256. |
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.
This example sets the height of the rows in the column header to larger than the default value.
C# | Copy Code |
---|---|
FarPoint.Web.Spread.ColumnHeader colhdr; colhdr = FpSpread1.ActiveSheetView.ColumnHeader; colhdr.RowCount = 3; colhdr.Height = 40; |
Visual Basic | Copy Code |
---|---|
Dim colhdr As FarPoint.Web.Spread.ColumnHeader colhdr = FpSpread1.ActiveSheetView.ColumnHeader colhdr.RowCount = 3 colhdr.Height = 40 |
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
Reference
ColumnHeader ClassColumnHeader Members
Visible Property
Columns.Count Property
RowHeader.ColumnCount Property