Storyboard sb = new Storyboard();sb.Completed+=new EventHandler((s,e)=>{ Debug.WriteLine(DateTime.Now.Ticks); });sb.Duration = TimeSpan.FromMilliseconds(500);