views:

106

answers:

0

So what I want to accomplish is that I have a listbox of items (for example: items in a basket) and when I mouse over one of them, I want to see a detailed view in another part of my window (with image and all that).

BASICALLY what I did works - but there are three things that I don't like:

a) I use "ItemsControl" so I have to bind the detail view to another IEnumerable<> (which I get by "OriginalCollection.Where(...)"

b) It uses code behind (mouse enter / mouse leave), but I would like to have my window without any code behind (I guess "routed events" would be the way to go)

c) I have absolutely no idea at the moment about getting some crossfading animation between detail displays done this way... :-(

I would really appreciate some input. :-)