The delegation defines the parameters of receipt when listening events "TweenCompleted" or "ReverseCompleted."
The first parameter is the Tween itself, the second parameter refers to the public Tween.FreeReference field.
FreeReference has been made to contains the reference of your choice. This allows you more flexible design code.
Namespace:
Tweened
Assembly:
Tweened (in Tweened.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Delegate Sub StoryboardComplete ( _
sender As Tween, _
freeReference As Object _
) |
| C# |
|---|
public delegate void StoryboardComplete(
Tween sender,
Object freeReference
) |
| Visual C++ |
|---|
public delegate void StoryboardComplete(
Tween^ sender,
Object^ freeReference
) |
| JavaScript |
|---|
function(sender, freeReference); |
Parameters
- sender
- Type: Tweened..::.Tween
The tween that has been completed.
- freeReference
- Type: System..::.Object
Anything you want to put here. You just have to define Tween.FreeReference field.
See Also