Is there an event that is fired when the user changes the name of the data frame or the name of a layer in the table of contents?

2340
1
08-31-2015 05:24 AM
MartinTyberg
New Contributor II

When the user changes the name of the data frame or the name of a layer in the table of contents, I need to catch this event in order to update my internal state. Is it possible to catch these events?

Thanks,

Martin

0 Kudos
1 Reply
ChrisSmith7
Frequent Contributor

Regarding property changes to layers, check out - Layer.PropertyChanged Event​​ - for DisplayName maybe? I'm not sure about the data frame...

0 Kudos