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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8