The method is called by the collection when setting the XSprite sprite.

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

Syntax

C#
void OnSpriteSet(
	int index,
	XSprite oldValue,
	XSprite newValue
)

Parameters

index
Type: System..::.Int32
Position in the collection from where the XSprite sprite will be set.
oldValue
Type: SGP.XSpace..::.XSprite
The XSprite sprite being removed.
newValue
Type: SGP.XSpace..::.XSprite
The XSprite sprite being newly inserted.

See Also