Search code examples
c#wpfpixelsense

Small drag drop prob (probably really simple)


I'm dragging an item from a surfacelistbox over something else, let's say for example it's a normal wpf grid - how can I tell where (i.e. what column/row) the item has been dropped on?

Thanks a lot,

Dan


Solution

  • Put a Panel inside each cell of your Grid. The drop target will then be one of those panels