private void ResetEditor() { if (Editor != null && Editor.IsActive) { if (Editor.Cancel.CanExecute(null)) Editor.Cancel.Execute(null); } }