public override void GoingOnDisplay(Css.RenderableData context) { if (Animation == null && GifFile != null) { Animation = GifFile.GetInstance(); // Set the event context now: Animation.SetContext(context); } }