Hi I think this is probably very easy, but I can't seem to find the right method.
I have two columns in the LINQ data source, Rank and PreviousRank.
In a GridViewDataColumn I have an image, and the image needs to be either an up arrow or a down arrow depending on the change of Rank compared to PreviousRank.
So on the image loaded event I have an event, now when I am in the event, how do I access the Rank and PreviousRank of the rows data?
I could bind a value to the image right? But this is only one. I see a DataContext, can I set that so when I am in the image loaded event, I can just access the data source row and go sourcerow.Rank and sourcerow.PreviousRank?
Does this make sense?