Private Sub RemoveSelected_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Dim test As List(Of Graphic) = MyDataGrid.SelectedGraphics For Each g As Graphic In test myGraphicsLayer.Graphics.Remove(g) Next g End Sub
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.