Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'd like to list map layers from map into combobox. I tried to set itemsource of combobox to: ItemsSource = "{Binding ElementName=Map, Path=Layers}. It does not list the layer names. It just lists "Esri.ArcGIS.Client.FeatureLayer". How can I list layers with their names in my combobox?

share|improve this question
add comment

1 Answer 1

I found it :

<ComboBox x:Name="cmblayers"  ItemsSource ="{Binding ElementName=Map, Path=Layers}"    >

                                        <TextBlock Text="{Binding LayerInfo.Name}"/>

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.