public void ShowDetails() { if (ActiveItem != null) { var vm = new DetailViewModel( string.Format("{0}: {1}", ActiveItem.GetType().Name, ActiveItem.DisplayName), ActiveItem.GetAsPropertyList() ); var message = new OpenWindow(vm); eventAggregator.BeginPublishOnUIThread(message); } }