Hi,I'm using the EditGeomtry class for moving polygons in a graphic layer, and I need to know when I'm dragging the graphic.First I click the polygon, this starts the editing session. Then I can drag it around.With the first click, both Map.MouseLeftButtonDown and Map.MouseLeftButtonUp are fired.When I then hold my left button to drag the graphic, the Map.MouseLeftButtondDown is not fired. When I release, Map.MouseLeftButtonUp does get fired. The problem is that I want the ButtonDown event to know that I started dragging the graphic.Or is there another property to indicate this?Map.MouseLeftButtonDown += (sender, e) =>
{
editor.StartEdit(graphic);
editing = true;
};
void editor_GeometryEdit(object sender, EditGeometry.GeometryEditEventArgs e)
{
if (e.Action.ToString() == "EditCanceled")
{
editing = false;
}
else if (e.Action.ToString() != "EditStarted")
{
editor.StopEdit();
editing = false;
}
}
Thanks