I don't even think its possible anymore.
Since, the drawing is a built-in feature and to enable it you simply set IsEnabled = true to start drawing. As soon as you click on a point and start dragging the rectangle is being drawn on the screen so I doubt that I can override this part of the rendering. I checked the layer's properties but couldnt find anything useful.
private void InitApp()
{
MyDrawObject = new Draw(myMap)
{
FillSymbol = DefaultFillSymbol,
DrawMode = DrawMode.Rectangle
};
MyDrawObject.DrawComplete += myDrawObject_DrawComplete;
}
private void radBtnZoomIn_Click(object sender, RoutedEventArgs e)
{
MyDrawObject.IsEnabled = true;
_toolMode = "zoomin";
}
Thanks for your help.
Bernard