The XSpriteParentChangedHandler delegate that informs about the sprites parent change. The oldParent gives the original parent. The newParent gives the new parent.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public delegate void XSpriteParentChangedHandler(
	XSprite sender,
	XSprite oldParent,
	XSprite newParent
)

Parameters

sender
Type: SGP.XSpace..::.XSprite
Sprite that caused the action.
oldParent
Type: SGP.XSpace..::.XSprite
Old parent.
newParent
Type: SGP.XSpace..::.XSprite
New parent.

See Also