I am trying to figure out what events are raised when Column Headers are dragged around.
I tried to capture the Preview[ DragEnter, Drop DragOver] etc events on the XamDatagrid, but none of them seem to fire.
Reason why I think I need to capture the events:
We have a concept of Column groups within our application, I want to be able to support drag and drop of columns between the groups themselves, or drag and drop the entire group around, but columns in one group should not be dropped in another group.
Any Ideas/Pointers around this problem would be highly appreciated.
Quick Note:
If I set the AllowDrop attribute to true, I do see events being fired, but not for the column move actions.
The event that I was trying to look for was FieldPositionChanging.
I know I can cancel the event by setting e.Cancel = true, but is there a way I can provide a UI cue that the move is invalid.