GrapeCity.Xaml.SpreadSheet.Data
RowCount Property (Worksheet)
Example 


Gets or sets the number of rows in the sheet.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property RowCount As Integer
'Usage
 
Dim instance As Worksheet
Dim value As Integer
 
instance.RowCount = value
 
value = instance.RowCount
[DefaultValue()]
public int RowCount {get; set;}

Property Value

The number of rows in the sheet.
Example
This example sets the RowCount property.
gcSpreadSheet1.Sheets[0].RowCount = 10;
gcSpreadSheet1.Sheets[0].ColumnCount = 8;
gcSpreadSheet1.Sheets[0].FrozenColumnCount = 1;
gcSpreadSheet1.Sheets[0].FrozenRowCount = 1;
gcSpreadSheet1.Sheets[0].FrozenTrailingColumnCount = 1;
gcSpreadSheet1.Sheets[0].FrozenTrailingRowCount = 1;
GcSpreadSheet1.Sheets(0).RowCount = 10
GcSpreadSheet1.Sheets(0).ColumnCount = 8
GcSpreadSheet1.Sheets(0).FrozenColumnCount = 1
GcSpreadSheet1.Sheets(0).FrozenRowCount = 1
GcSpreadSheet1.Sheets(0).FrozenTrailingColumnCount = 1
GcSpreadSheet1.Sheets(0).FrozenTrailingRowCount = 1
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options