Visual Basic (Declaration) | |
---|---|
Public Delegate Sub SpreadCommandEventHandler( _ ByVal sender As Object, _ ByVal e As SpreadCommandEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New SpreadCommandEventHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void SpreadCommandEventHandler( object sender, SpreadCommandEventArgs e ) |
Parameters
- sender
- Object that raised the event
- e
- SpreadCommandEventArgs object that contains event data
The command events include:
- ButtonCommand Event
- CancelCommand Event
- DeleteCommand Event
- EditCommand Event
- ErrorCommand Event
- InsertCommand Event
- UpdateCommand Event
For a list of Spread command events, refer to the list of public events in the FpSpread class members.
For more information about event handler delegates, refer to Events and Delegates in the Microsoft .NET Framework Developer's Guide.
For an introduction to delegates, refer to Delegates Tutorial in the Microsoft C# Programmers Reference.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family