Spread WPF Documentation
GetLastDirtyColumn Method
Example 


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

Parameters

type

Return Value

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

Reference

Worksheet Class
Worksheet Members