Quick question about the map selection change event

1073
1
Jump to solution
03-07-2019 09:08 AM
StuartBricker2
New Contributor II

I am having difficulty finding the correct snippet for subscribing to the active map selection change event. I want to validate that the user has the correct feature types selected, as well as modify some of my WPF form UI elements based upon what the user has selected. In ArcMap, the analogous event would be the .selectionChanged event from IActiveViewEvents_Event.

I am assuming that Pro has a similar event to which I can subscribe to achieve the same results. I am looking for the event that fires when the selected features on the active map change. Thanks in advance!

Tags (1)
1 Solution

Accepted Solutions
StuartBricker2
New Contributor II

Just like washing your car makes it rain, posting a question here made me find the answer!

ArcGIS.Desktop.Mapping.Events.MapSelectionChangedEvent is what I was looking for.

View solution in original post

1 Reply
StuartBricker2
New Contributor II

Just like washing your car makes it rain, posting a question here made me find the answer!

ArcGIS.Desktop.Mapping.Events.MapSelectionChangedEvent is what I was looking for.