private void GraphicsLayer_MouseLeftButtonUp(object sender, GraphicMouseButtonEventArgs e)
{
if (EnableEditVerticesScaleRotate.IsChecked.Value)
{
MyDrawObject.DrawMode = DrawMode.None;
Editor editor = LayoutRoot.Resources["MyEditor"] as Editor;
if (e.Graphic != null && !(e.Graphic.Geometry is ESRI.ArcGIS.Client.Geometry.MapPoint))
editor.EditVertices.Execute(e.Graphic);
}
}