Layer selectable status changed event

52
2
09-17-2019 01:28 PM
Highlighted
New Contributor II

Is there an event that is raised when a feature layer "selectable" status changes in a Pro map? Or is there perhaps a more general event which fires when any layer property changes? I have a custom panel with a list box that allows to control selectable status for a predefined set of layers, and this list needs to be in sync with the default "List by Selection" in Pro TOC. Thanks.

Reply
0 Kudos
2 Replies
Highlighted
Esri Regular Contributor

Hi Alex,

The MapMemberPropertiesChangedEvent gets fired when a layer's selectable status changes. If you store the layers current status, then you can compare against that when this event fires.

Thanks

Uma

Reply
0 Kudos
Highlighted
New Contributor II

Thanks Uma!

Reply
0 Kudos