Using the Silverlight editor is it possible to undo the last edit or a specific edit without affecting the other edits that have not been saved yet?
Here are the steps:
1. Make several edits but do not save (autosave off)
2. Make another edit
3. Undo the edit in #2, but do not mess with edits in #1
4. Then save edits (in code or via editorwidget save button in users case).
'This code will undo all edits, but I want just a specific edit
'---------------
Dim editor As Editor = TryCast(LayoutRoot.Resources("SplitEditor"), Editor)
For Each graphicsLayer As GraphicsLayer In editor.GraphicsLayers
If TypeOf graphicsLayer Is FeatureLayer Then
Dim featureLayer As FeatureLayer = TryCast(graphicsLayer, FeatureLayer)
If featureLayer.HasEdits Then
featureLayer.Update()
End If
End If
Next graphicsLayer
'---------------