Select to view content in your preferred language

Layer properties changed event?

1553
1
08-24-2010 12:27 PM
by Anonymous User
Not applicable
I need to trap when a layer's properties are changed (e.g. symbology, name, display field, etc.).  I know that IActiveView ContentsChanged is fired when something like this changes, but I need to get the layer(s) that caused this event. I have successfully implemented ILayerEvents to handle when a layer's visibility is changed, but this does not help when something else changes.  Using the contents view selected item seems to work in most cases, but I am hesitant to rely on it.  Does anyone know if such an event exists and, if so, where it is? 
Thanks.
0 Kudos
1 Reply
VictorAparicio
Emerging Contributor
I have the same problem... I need to catch the event when layer´s symbology changes. It fires the OnViewRefresh, but I have to isolate it from other issues, like a map movement o a map re-scale.
0 Kudos