In Version 10.2.7 when you clicked on a polyline loaded from a shapefile you could set the property 'IsSelected' to true in the Graphic object and it will draw a line around itself. After upgrading to Version 100.7 the property is no longer there and I can not find a replacement.
Selecting graphics in a GraphicsOverlay:
Graphic.IsVisible Property
Selecting features in a FeatureLayer:
FeatureLayer.SelectFeature Method
FeatureLayer.SelectFeatures Method
FeatureLayer.SelectFeaturesAsync Method (QueryParameters, SelectionMode)
FeatureLayer.SelectFeaturesAsync Method (QueryParameters, SelectionMode, CancellationToken)
FeatureLayer.ClearSelection Method
FeatureLayer.UnselectFeature Method
FeatureLayer.UnselectFeatures Method
Thanks for the answer - it now works perfectly.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.