Click here to Skip to main content
       

WCF and WF

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionBinding to an XML list of attributes [modified]memberJayme656 Sep '12 - 11:50 
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!!

modified 7 Sep '12 - 2:44.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 18 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid