Spread Windows Forms 6.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 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

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