Layer selectable status changed event

445
2
09-17-2019 01:28 PM
AlexZlotin1
New Contributor III

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.

0 Kudos
2 Replies
UmaHarano
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

AlexZlotin1
New Contributor III

Thanks Uma!

0 Kudos