GrapeCity.Xaml.SpreadSheet.Data
GetLastDirtyRow Method
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : GetLastDirtyRow Method
Gets the last dirty row index.
Syntax
'Declaration
 
Public Function GetLastDirtyRow( _
   ByVal type As StorageType _
) As Integer
'Usage
 
Dim instance As Worksheet
Dim type As StorageType
Dim value As Integer
 
value = instance.GetLastDirtyRow(type)
public int GetLastDirtyRow( 
   StorageType type
)

Parameters

type

Return Value

The index of the last dirty row.
Example
This example uses the GetLastDirtyRow method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetLastDirtyColumn(GrapeCity.Xaml.SpreadSheet.Data.StorageType.Data).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetLastDirtyRow(GrapeCity.Xaml.SpreadSheet.Data.StorageType.Data).ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetLastDirtyColumn(GrapeCity.Xaml.SpreadSheet.Data.StorageType.Data).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetLastDirtyRow(GrapeCity.Xaml.SpreadSheet.Data.StorageType.Data).ToString())
See Also

Reference

Worksheet Class
Worksheet Members