Spread Windows Forms 11.0 Product Documentation
RowIndex Property (CellErrorTextChangedEventArgs)
Example 


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


private void fpSpread1_CellErrorTextChanged(object sender, FarPoint.Win.Spread.CellErrorTextChangedEventArgs e)
        {
            listBox1.Items.Add(e.RowIndex);
        }
fpSpread1.ShowCellErrors = True
fpSpread1.Sheets(0).Cells(1, 1).Locked = True
fpSpread1.Sheets(0).SetCellErrorText(1, 1, "ErrorText")


Private Sub fpSpread1_CellErrorTextChanged(sender As Object, e As FarPoint.Win.Spread.CellErrorTextChangedEventArgs) Handles fpSpread1.CellErrorTextChanged
        listBox1.Items.Add(e.RowIndex)
    End Sub
See Also

Reference

CellErrorTextChangedEventArgs Class
CellErrorTextChangedEventArgs Members