Retrieving data from a listview from a button press in the listview | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Retrieving data from a listview from a button press in the listview

I have a button inside a listview and the listview is bound to an observable collection. when I press the button I need to know how to retrieve the data from the observable collection. I know how to do it if the item in the listview is selected but in this case it isnt. Any help will be greatly appreciated

11th Jun 2017, 12:31 AM
Martin Nowak
Martin Nowak - avatar
6 Answers
0
what is your development environment? I am still interrested in how you develop your applications.
12th Jun 2017, 5:29 PM
sneeze
sneeze - avatar
0
@sneeze visual studios
12th Jun 2017, 5:32 PM
Martin Nowak
Martin Nowak - avatar
0
Which project do you create ? I have developped a lot of winforms projects and recently moved to wpf projects.
12th Jun 2017, 6:44 PM
sneeze
sneeze - avatar
0
Templates>visual c#>windows universal>blank app
12th Jun 2017, 6:48 PM
Martin Nowak
Martin Nowak - avatar
0
is in visual studio express 2015 ? I do not have the tab windows universal platform.
12th Jun 2017, 8:36 PM
sneeze
sneeze - avatar
0
Not sure about express. I used it in 2015 and 2017. I know in 2017 you need to select it on installation or download it later
12th Jun 2017, 8:38 PM
Martin Nowak
Martin Nowak - avatar