AGoyal-esristaff

Cannot Use Draw when trying to Draw on a one of many graphics layers

Discussion created by AGoyal-esristaff Employee on Feb 1, 2012
Latest reply on Feb 8, 2012 by AGoyal-esristaff
In my WPF application, I have 3 Graphics layers (placed in the same order as shown below):


1) GraphicsLayer3 is a sketch layer
2) GraphicsLayer2 represents stand
3) GraphicLayer1 represents property


If I just add GraphicsLayer1 and GraphicsLayer3 to map, I can use Draw object fine to draw graphics.
However if I add GraphicsLayer2 over GraphicsLayer1 and then try to draw on GraphicsLayer2, the Draw object doesnt start and doesnt fire beginDraw event. As soon as I
start the drawing outside GraphicsLayer2, I can draw again fine.

Is this a bug? Or is it be design that draw can work only with 2 graphics layers?

Thanks

Outcomes