how to get selected item of listbox
WPF
4
Posts
2
Posters
0
Views
1
Watching
-
i have listbox inside a datagrid. when user click save button i want to get the selected value of the list.
One person's data is another person's program. --J.Walia
-
-
i want to get selected item of listbox.
One person's data is another person's program. --J.Walia
The collection view model keeps the underlying data source aware of the current list item selected and you can get the selected row by using methods like the
CurrentItem
(available insideICollectionView
).Me, I'm dishonest. And a dishonest man you can always trust to be dishonest.
Honestly. It's the honest ones you want to watch out for...