Spread Windows Forms 12.0 Product Documentation
RowIndex Property (RowErrorTextChangedEventArgs)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > RowErrorTextChangedEventArgs Class : RowIndex Property
Gets the row index.
Syntax
'Declaration
 
Public ReadOnly Property RowIndex As Integer
'Usage
 
Dim instance As RowErrorTextChangedEventArgs
Dim value As Integer
 
value = instance.RowIndex
public int RowIndex {get;}
Example
This example gets the row index.
fpSpread1.ShowRowErrors = true;
fpSpread1.Sheets[0].Rows[1].ErrorText = "RowError";
fpSpread1.Sheets[0].Rows[1].Locked = true;

private void fpSpread1_RowErrorTextChanged(object sender, FarPoint.Win.Spread.RowErrorTextChangedEventArgs e)
{
    listBox1.Items.Add(e.RowIndex);
}
fpSpread1.ShowRowErrors = True
fpSpread1.Sheets(0).Rows(1).ErrorText = "RowError"
fpSpread1.Sheets(0).Rows(1).Locked = True


Private Sub fpSpread1_RowErrorTextChanged(sender As Object, e As FarPoint.Win.Spread.RowErrorTextChangedEventArgs) Handles fpSpread1.RowErrorTextChanged
   ListBox1.Items.Add(e.RowIndex)
End Sub
See Also

Reference

RowErrorTextChangedEventArgs Class
RowErrorTextChangedEventArgs Members