Visual Basic (Declaration) | |
---|---|
Public Delegate Sub SheetViewPropertyChangeEventHandler( _ ByVal sender As Object, _ ByVal e As SheetViewPropertyChangeEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New SheetViewPropertyChangeEventHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void SheetViewPropertyChangeEventHandler( object sender, SheetViewPropertyChangeEventArgs e ) |
Parameters
- sender
- e
For information on the event, see the SheetView PropertyChanged event.
This example creates the SheetViewPropertyChanged event.
C# | Copy Code |
---|---|
fpSpread1_Sheet1.PropertyChanged += new FarPoint.Win.Spread.SheetViewPropertyChangeEventHandler(fpSpread1_Sheet1_Pro pertyChanged); private void fpSpread1_Sheet1_PropertyChanged(object sender, FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs e) { MessageBox.Show("The " + e.PropertyName + " property has changed."); } |
Visual Basic | Copy Code |
---|---|
Dim eh As FarPoint.Win.Spread.SheetViewPropertyChangeEventHandler = AddressOf FpSpread1_Sheet1_PropertyChanged AddHandler FpSpread1_Sheet1.PropertyChanged, eh Private Sub FpSpread1_Sheet1_PropertyChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs) MessageBox.Show("The " & e.PropertyName & " property has changed.") End Sub |
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