private void TabClosingAnimation_Completed(object sender, EventArgs e) { Dispatcher.BeginInvoke(new Action(AnimateSpaceClosing)); }