Drag and Drop custom controls between cells in a grid in WPF
问题 I've got some custom controls which are dynamically added to a custom grid. These controls can span over several columns and rows(which are all the same size). I'd like to drag and drop between the rows and columns. I can drag the individual controls, but they can move anywhere without limit. Even off the grid. I'd like to do it so it can only be dragged inside the grid AND snaps to the column/row it's dragged to. Is there any easy-ish way to do this? Honestly, if I could get the current row