Spread WPF Documentation
NonEmptyRowCount Property
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : NonEmptyRowCount Property
Gets the number of rows in cell blocks that contain data, styles, tags, or sparklines.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public ReadOnly Property NonEmptyRowCount As System.Integer
'Usage
 
Dim instance As Worksheet
Dim value As System.Integer
 
value = instance.NonEmptyRowCount
[System.ComponentModel.DefaultValue()]
public System.int NonEmptyRowCount {get;}
Example
This example uses the NonEmptyRowCount property.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].NonEmptyRowCount.ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).NonEmptyRowCount.ToString())
See Also

Reference

Worksheet Class
Worksheet Members