An example of moving items from one listbox to another

This is a five minute mock-up of a playing card game, with a hand of cards, and a set of played cards, shown in two listboxes. The purpose of this example is to show how to move an item from one observable collection to another and what happens to the visuals.

C# (188.3 KB)
5 Star
2,628 times
Add to favorites
E-mail Twitter Digg Facebook

Solution explorer

Click an item in the panel on the left to view the contents here.