private void EditRelationship(object obj) { RelationshipEditorViewModel viewModel = new RelationshipEditorViewModel(this, true); EditorWindow editorWindow = new EditorWindow { DataContext = viewModel }; editorWindow.ShowDialog(); // Update the name property.. do we want to update anything else? }
protected RelationshipEditorPageViewModelBase(RelationshipEditorViewModel viewModel) : base(viewModel) { }