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); } }
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.