Spread Windows Forms 12.0 Product Documentation
RowErrorTextChanged Event (FpSpread)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : RowErrorTextChanged Event
Occurs when the row error text has changed.
Syntax
'Declaration
 
Public Event RowErrorTextChanged As RowErrorTextEventHandler
'Usage
 
Dim instance As FpSpread
Dim handler As RowErrorTextEventHandler
 
AddHandler instance.RowErrorTextChanged, handler
public event RowErrorTextEventHandler RowErrorTextChanged
Event Data

The event handler receives an argument of type RowErrorTextChangedEventArgs containing data related to this event. The following RowErrorTextChangedEventArgs properties provide information specific to this event.

PropertyDescription
Gets the row index.  
Gets SheetView object.  
Example
This example uses the RowErrorTextChanged event.
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