I've got a grid with:
When the button is clicked the "Value" is added to a collection keyed by the "Code" - the value is incremented if necessary.
What I want to do is to conditionally show the image in the last template column based on whether the "Code" is in the collection and to display the accumulated "Value" in the textblock.
I've added converters against the image's visibility property and the textblock's text property and these work when the list is loaded. However when I enter a value and click the button I can't get the last template column to refresh. Is there an easy way to do this?
Hopefully this made sense. If not let me know!
Thanks.
Thanks Darrell, that worked perfectly!
If you still want to see the project I've uploaded a zip file containing a slimmed down project (VB.NET I'm afraid :-) ) to my company's website - I've added the URL to the options of this message.
Thanks again.
Do your properties raise INotifyPropertyChanged events? The grid should react to that event to modify its appearance.
Do you have a slimmed down sample showing what you doing? I would like to see what you are doing.