How can you make a MapSelectionChangedEvent for Highlighted Rows only?

523
0
08-13-2019 10:44 AM
JohnPhillipsGeo
New Contributor III

I am trying to do something similar to this:

MapSelectionChangedEvent.Subscribe(OnSelectionChanged);

private void OnSelectionChanged(MapSelectionChangedEventArgs args)
{

//Custom code here
}

This is easy enough to implement, but how would I go about doing this for the highlighted rows?  I can't seem to find a method in the API for it except for MapView.Active.Map.GetHighlightSelection()

How would I go about implementing a custom event based on GetHighlightSelection()?

Thanks

0 Replies