How do I know the target FieldPosition?
The info doesn't seem to exist in the args class.
Yaakov,
The user-oriented set of Infragistics events comprise of :
1. Cancellable (-ing) event
2. Completed (-ed) event.
The -ing event is to be cancelled with the e.Cancel=true; before the actual drag starts. The drop is associated with the -ed event.
Note that this event is not only for field moving, but for for changing the position in any manner - pinning, unpinning, etc.
The Changing event should fire only when potential drop is about to happen; that is, when the "drop gesture" (the nice animating arrows) is shown.
I hope this is current behavior.
Anyway, at this stage, the new potential position in known, so there should be no problem including it in args.
Please, if you don't mind, open request for adding to both (Changing & Changed).
Regards,
Yaakov
Hello,
The FieldPositionChanging event fires when you start dragging the Label - this is before the dragging has ended and the position is still unknown. FieldPositionChanged event is fired when the dragging is completed, but that also does not expose the new position. You might want to submit a feature request for this to be added.