Spread Windows Forms 11.0 Product Documentation
PropertyChanged Event (SheetView)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : PropertyChanged Event
Occurs when the user changes a property of the sheet.
Syntax
'Declaration
 
Public Event PropertyChanged As SheetViewPropertyChangeEventHandler
'Usage
 
Dim instance As SheetView
Dim handler As SheetViewPropertyChangeEventHandler
 
AddHandler instance.PropertyChanged, handler
public event SheetViewPropertyChangeEventHandler PropertyChanged
Event Data

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

PropertyDescription
Gets the name of the property that has changed.  
Example

This example illustrates the use of the event by returning the property that was changed.

private void fpSpread1_Sheet1_PropertyChanged(object sender, FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs e)
{
     label1.Text = e.PropertyName;
}
Private Sub FpSpread1_Sheet1_PropertyChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs)
Handles FpSpread1_Sheet1.PropertyChanged
     Label1.Text = e.PropertyName
End Sub
See Also