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