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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

RowErrorTextChangedEventArgs Class
RowErrorTextChangedEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.