Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

Pass business object as parameter into a value converter

$
0
0

I have a custom column in a xamgrid (data grid) and want to pass a row's data object as a parameter into a value converter. Is this possible?

<TextBlock  Text="{Binding RelativeSource={RelativeSource Self}, Converter={StaticResource captionConverter}}"  />

with this code, all that gets passed into the value converter is the text box itself.

Thank you for any help you can offer.


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>