Spread Silverlight Documentation
NextActualVisibleColumn Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : NextActualVisibleColumn Method
The index of the current column.
Gets the index of the next visible column from the current column.
Syntax
'Declaration
 
Public Function NextActualVisibleColumn( _
   ByVal column As System.Integer _
) As System.Integer
'Usage
 
Dim instance As Worksheet
Dim column As System.Integer
Dim value As System.Integer
 
value = instance.NextActualVisibleColumn(column)
public System.int NextActualVisibleColumn( 
   System.int column
)

Parameters

column
The index of the current column.

Return Value

The index of the next visible column.
Example
This example uses the NextActualVisibleColumn method.
int j;
j = 0;
    for (int i=0;i<gcSpreadSheet1.Sheets[0].ColumnCount -1;i++)
{
    j = gcSpreadSheet1.Sheets[0].NextActualVisibleColumn(j);
    listBox1.Items.Add(j.ToString());
}
Dim j As Integer
j = 0
For i As Integer = 0 To GcSpreadSheet1.Sheets(0).ColumnCount - 1
    j = GcSpreadSheet1.Sheets(0).NextActualVisibleColumn(j)
    ListBox1.Items.Add(j.ToString())
Next
See Also

Reference

Worksheet Class
Worksheet Members