Spread Windows Forms 7.0 Product Documentation
PropertyChanged Event
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : PropertyChanged Event


Glossary Item Box

Occurs when the user changes a property of the sheet.

Syntax

Visual Basic (Declaration) 
Public Event PropertyChanged As SheetViewPropertyChangeEventHandler
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim handler As SheetViewPropertyChangeEventHandler
 
AddHandler instance.PropertyChanged, handler
C# 
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
PropertyName 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.

C#Copy Code
private void fpSpread1_Sheet1_PropertyChanged(object sender, FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs e)
{
     label1.Text = e.PropertyName;
}
Visual BasicCopy Code
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

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.