Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
Can we drag items from a XamDataCarousel?
posted

I have implemented a drag drop functionality in XamCarouselListBox, but am not able to replicate the behaviour in XamDataCarousel. Is it possible to do it? Please help.

Parents
  • 30945
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into your question and I assume that you are using Infragistics Drag and Drop Framework. If you wish to add Drag Drop functionality for the XamDataCarousel, what I can suggest re-templating the CarouselItem and set DragDropManager.DragSouce to the root element of the template. Also, in order to allow the Drag Drop operations, you should set the CellClickAction of the FieldSettings of the XamDataCarousel to EnterEditModeIfAllowed, since by default clicking on the cell is selecting it and this stop the mouse down event to bubble and prevents the drag drop operation from starting. I have created a sample application for you, that shows how you can allow dragging items of the XamDataCarousel.

     

    Please let me know if you need any further assistance on the matter.

     

    Sincerely,

    Krasimir, MCPD

    Developer Support Supervisor - XAML

    Infragistics

    www.infragistics.com/support

    DataCarouselDragDrop.zip
Reply Children