We would like to add a vertex to the editor from code behind. We would like the first point to be fixed and the user select the second point. We are unable to get the AddVertex command to execute.
Task t = this.Editor.RequestShapeAsync(Esri.ArcGISRuntime.Controls.DrawShape.Polygon);
this.Editor.AddVertex.Execute(new MapPoint(0, 0));
We receive an ArgumentException was unhandled by user code, "Cannot execute command."