void EditorWidget_EditCompleted(object sender, Editor.EditEventArgs e) { if (e.Action != Editor.EditAction.Add || e.Action != Editor.EditAction.Cancel) { Editor editor = null; if (sender is EditorWidget) editor = (sender as EditorWidget).DataContext as Editor; else editor = sender as Editor; if (editor != null && editor.CancelActive.CanExecute(null)) editor.CancelActive.Execute(null); } }
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.