Occurs when a change is made to the sheet that may require the entire sheet to be repainted (as with DefaultStyle or AlternatingRows).
Syntax
Event Data
The event handler receives an argument of type SheetViewEventArgs containing data related to this event. The following SheetViewEventArgs properties provide information specific to this event.
Property | Description |
---|
Column | Gets the column index. |
ColumnCount | Gets the number of columns. |
Row | Gets the row index. |
RowCount | Gets the number of rows. |
Example
This example illustrates the use of the event by returning the column in which the change to the sheet occurred.
C# | Copy Code |
---|
private void fpSpread1_Sheet1_Changed(object sender, FarPoint.Win.Spread.SheetViewEventArgs e)
{
label1.Text = e.Column.ToString();
}
|
Visual Basic | Copy Code |
---|
Private Sub FpSpread1_Sheet1_Changed(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SheetViewEventArgs) Handles FpSpread1_Sheet1.Changed
Label1.Text = e.Column.ToString()
End Sub
|
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also