private void IsServerNewsLoadingAnim(bool state) { this.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(delegate () { ServerNewsProgressRing.IsActive = state; })); }