public MainPage() { InitializeComponent(); Editor editor = this.LayoutRoot.Resources["MyEditor"] as Editor; if (editor!=null) editor.EditCompleted += new EventHandler<Editor.EditEventArgs>(editor_EditCompleted); } void editor_EditCompleted(object sender, Editor.EditEventArgs e) { if (e.Action == Editor.EditAction.Select) { foreach (var edit in e.Edits) { if (edit.Layer is FeatureLayer) { FeatureLayer featureLayer = edit.Layer as FeatureLayer; //TODO: display featureLayer.SelectedGraphics in a grid. } } } }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.