I have a valueconverter attached to an unbound column in a xamwebgrid. When i debug the valueconverter, the UnboundColumnDataContext.RowData and Value are both nothing. Here is the Xaml. Maybe I have not set this up correctly:
<ig:UnboundColumn Key="Attachment" HeaderText="" IsSummable="False" ValueConverter="{StaticResource TransactionAttachment}"> <ig:UnboundColumn.ItemTemplate> <DataTemplate> <Image Stretch="Fill" Width="16" Height="16" Source="{Binding RowData}" /> </DataTemplate> </ig:UnboundColumn.ItemTemplate></ig:UnboundColumn>
Hi,
Perhaps your TransactionAttachment resource isn't being found?
Is your ValueConverter's Convert method being called?
-SteveZ
Yes it is being called. I stepped through it. When I examine the value parameter, it is of type UnboundColumnDataContext. The key property is set correctly ("Attachment" - the key for the column), but both the RowData and Value properties are nothing.