Hello,
I've got a problem with the DragDrop Framework.
The droptarget is a grid with several columns and rows, the dragsource are several images.
In every gridcell are just one image is allowed to place, if there is already one image in there i have to dissallow do drop.
On the event DragOver i check if there is one image, if 'true' i set:
e.DropTarget.AllowDrop = false;
i also tried:
e.DragSource.AllowDrop = false;
but both lines have no result...i can still drop a second image in there. How can i dissallow to drop the image?
Andreas
Hello Andreas,
In order to achieve the desired behavior you have to use e.OperationType property:
e.OperationType = OperationType.DropNotAllowed;
Hope this is what you need.
Best regards,
Bobby Kulov
Infragistics Developer Support
https://ko.infragistics.com/support