public void ForcePreviewOpen() { Application.Current.Dispatcher.Invoke(new Action(delegate() { Properties p = null; foreach (var w in Application.Current.Windows) if (w is Properties) p = (Properties)w; if (p != null) p.Topmost = true; })); }