|     Blog    |     Wiki    |     Support

Remove Click in LegendAdornmentLayer

Is it possible to remove/avoid click event from LegendAdornmentLayer layer in WPF application?

Hi Krishna_Patwa,

I think our LegendAdornmentLayer don’t have the click event by default, when I click on it, nothing happen.

So what’s the detail event you point and what’s it behavior?



Thanks for the response Ethan.

Initially it does not have any event. When I zoom in, all the items are becomes clickable and on click it takes maps to some projection which I want to remove.

Hi Krishna,

I guess that’s implemented by your custom code, it looks in our sample I hadn’t found this behavior.

I think you can check the event bind in your legend items, if you still cannot solve it, a simple sample is helpful.