Hi is it possible to drag and drop between 2 tile managers? Possibly by handling the the DragEnter/DragOver events?
Thanks.
Hello Mark,
Thank you for your post. I have been looking into it and I have created a sample application, which shows how it can be achieved. I have re-templated the XamTile and using the Infragistics Drag and Drop Framework I have added a the ability to drag a tile by clicking on its content area. The drag and drop between XamTileManagers should be made by clicking on the content area of the XamTile, since the header of the XamTile implements drag and drop functionality, which allows you to re-arrange the tiles in the current XamTileManager. In order to allow dropping onto the XamTileManager, I have set the DropSource of the DragDropManager of the XamTileManager. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Hi,
I have an application with several xamTileManager panels on it and I would like to make it able for the users to drag & drop an item from any of the panels and drop it to another location within the same panel or in another panel.
The builtin drag & drop function of the panel works fine for in-pnale reordering and your attached example code also works fine for moving items between panels.
My problem is that the two drag & drop function works in a different way:
Is it possible to merge the two drag & drop solution together to make the user able to drag the header of the panel for both within-panel reordering and moving items between panels?
Regards,
Peter
Hello Peter,
The thing you can do is disabling the built-in Drag&Drap by setting the AllowTileDragging of the NormalModeSettings and MaximizedModeSettings to "No" like this:
<ig:XamTileManager > <ig:XamTileManager.NormalModeSettings> <ig:NormalModeSettings AllowTileDragging="No"/> </ig:XamTileManager.NormalModeSettings> <ig:XamTileManager.MaximizedModeSettings> <ig:MaximizedModeSettings AllowTileDragging="No"/> </ig:XamTileManager.MaximizedModeSettings></ig:XamTileManager>
After you do this you can use the approach from the sample to make drag&drop for the headers. As for the animations. You can take a look at the XamTileManager default Styles and see the animation we use to make similar ones by yourself. You can find teh deafult Styles here:
C:\Program Files (x86)\Infragistics\2015.2\WPF\DefaultStyles\TileManager\generic.shared.xaml file