GraphicsLayer MyGraphicsLayer = sender as GraphicsLayer; if (MyGraphicsLayer.Renderer is UniqueValueRenderer) { UniqueValueRenderer renderer = MyGraphicsLayer.Renderer as UniqueValueRenderer; string label = renderer.DefaultLabel; foreach (var info in renderer.Infos) label = info.Label; }
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.