tags:

views:

139

answers:

1

I have an imagebrush of a soccer field as the page background and I want to be able create a line up by dragging players off the bench and positioning them on the field accordingly. I don't know what control to use for the background that allows the PlayerCard control to reside where it is dragged. Any help as to how to begin would be appreciated.

You can get the idea here.

What control to use?

+1  A: 

I believe you want the Canvas container control. It lets you arbitrarily place child controls with a Left and Top attached property, similar to the way Windows Forms does it.

Matt Hamilton
Thanks Matt, I'll take a look. And for future reference, could you extend me the courtesy of letting me finish the question before you give me the perfect answer? <g>Thanks again.
Brad
Haha I will have to wait until Jeff gives Stack Overflow the ability to look into the future! At the rate he's adding features I'm sure that's not far off.
Matt Hamilton