Display array data from web service in a List box with XML
Hello,
I am trying to display nested data returned from a web service in a list box. The data coming back is in an array and is thread colors from an embroidery design. i am simply trying to list those colors in a List Box using XML.
Here is the data returned from the webservice:
<DesignParameters xmlns="http://mywebservice.com/webservices">
</DesignParameters>
The specific array that I am trying to place in my ListBox is the ThreadColors, each value should appear as a hex number. But what is displayed instead is "DesignParametersDesignParamaterThreadColor". The binding i am using is ItemsSource="{Binding ThreadColors}"
The hex values will display correctly in a DataGrid when using the ItemsSource="{Binding ThreadColors}", but I need them to be in a ListBox for the UI I am putting together.
i cannot include a link to the webservice or any specifics to what this is being used for. I am simply looking for some guidance. Any thoughts would be helpful
