Creating a Converter to take an ID and create an Image in Silverlight
问题 I am using a WCF weather service and receiving weather information like ID, Description, and Images. It returns like this: <WeatherDescription> <WeatherID>1</WeatherID> <Description>Thunder Storms</Description> <PictureURL> http://ws.cdyne.com/WeatherWS/Images/thunderstorms.gif </PictureURL> </WeatherDescription> Now in the XAML I am showing my data in a dataGrid as so: <sdk:DataGridTextColumn Header="ID" Binding="{Binding WeatherID}" /> The above binding is to another function of the service