FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : SheetViewPropertyChangeEventHandler Delegate |
'Declaration Public Delegate Sub SheetViewPropertyChangeEventHandler( _ ByVal sender As Object, _ ByVal e As SheetViewPropertyChangeEventArgs _ )
'Usage Dim instance As New SheetViewPropertyChangeEventHandler(AddressOf HandlerMethod)
public delegate void SheetViewPropertyChangeEventHandler( object sender, SheetViewPropertyChangeEventArgs e )
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."); }
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