There is a custom listbox, the interface of each item is selected by a selector, depending on the presence of certain properties. One of the interfaces has 2 textbox and image. When I click on an image, I need to go to another page and open a browser in it with the URL, which is a property of the item that was clicked. There is no problem with transferring information to another page, but how to get the URL of the exact item you clicked on? According to the index, I can get to any collection item, but I don’t know exactly which item has image and URL.
ps: the send event text is of type image, type string
New tmp = ((sender as ListBox).SelectedItem as New);
does not work.