Binding to an XML list of attributes
WCF and WF
1
Posts
1
Posters
0
Views
1
Watching
-
I have an XML file structured this way:
<Emulators>
<System>
<Name>Name1</Name>
<Kind name="lexplode"/>
<Kind name="sexplode"/>
<Kind name="dropbomb"/>
</System>
</Emulators>If I want to read, in XAML, from <Name> I know that I have to do:
<TextBox Text="{Binding XPath=Name, UpdateSourceTrigger=PropertyChanged}"/>
But what if I want to read all the values under <Kind>> ? And which control could receive them, a textbox, a listbox, ..? Thanks a lot!!