Spread Windows Forms 6.0 Product Documentation
SheetViewPropertyChangeEventHandler Delegate
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : SheetViewPropertyChangeEventHandler Delegate


sender
e

Glossary Item Box

Represents a defined method that handles sheet property change events.

Syntax

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

Remarks

For information on the event, see the SheetView PropertyChanged event.

Example

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 BasicCopy 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

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.