I have a VB.net WPF application that creates a list from a databind. For each row in the databind, it generates a textblock that displays the information from different fields in the databind. It also generates a button which I would like to run a subroutine when clicked.
When I click the button, I want it to be able to get the information from the databind on the column the button is clicked, and to pass it to the subroutine so the code-behind can use that information.
Any ideas?