Visual Basic (Declaration) | |
---|---|
Public Delegate Sub ExpandEventHandler( _ ByVal sender As Object, _ ByVal e As ExpandEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New ExpandEventHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void ExpandEventHandler( object sender, ExpandEventArgs e ) |
Parameters
- sender
- Source of the event
- e
- Event data
For information on the event, refer to the FpSpread Expand event.
This example creates the Expand event.
C# | Copy Code |
---|---|
fpSpread1.Expand += new FarPoint.Win.Spread.ExpandEventHandler(fpSpread1Expand); private void fpSpread1Expand(object sender, FarPoint.Win.Spread.ExpandEventArgs e) { } |
Visual Basic | Copy Code |
---|---|
Dim eh As FarPoint.Win.Spread.ExpandEventHandler = AddressOf FpSpread1Expand AddHandler FpSpread1.Expand, eh Private Sub FpSpread1Expand(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ExpandEventArgs) Handles FpSpread1.Expand End Sub |
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