How to traverse the item in the collection in a List or Observable collection?
Posted
by Ashish Ashu
on Stack Overflow
See other posts from Stack Overflow
or by Ashish Ashu
Published on 2010-04-12T05:46:35Z
Indexed on
2010/04/12
5:53 UTC
Read the original article
Hit count: 377
I have a collection that is binded to my Listview.
I have provided options to user to "move up" "move down" the selected item in the list view. I have binded the selected item of the listview to my viewmodel, hence I get the item in the collection on which user want to do the operation.
I have attached "move up" "move down" commands in my viewmodel.
I want what is the best way to move up and down in the collection in the collection which is reflected in the list view.
Please suggest.
© Stack Overflow or respective owner