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
Problem in Droping objects on XamCarouselListbox
posted

Hi,

 

I am facing a weird issue with the XamCarousellistBox control and might sound kind of funny.

I have a XamCarousellistBox control on which user can drag and drop items which will be added to the control. And this works fine in normal case. But if I do not set the Background property for the XamCarousellistBox control or if I try to set the property by binding the value from a data source, it no longer allows us to drop any objects on the control. Any idea why?

Regards,

Nik

SolutionItem.zip
  • 405
    posted

    Hello Nik,

    I was able to reproduce a similar issue with XamCarouselListBox.

    When dragging and dropping, dropping event will not fire if dropped on transparent element.

    By default, if you don't set explicitly, XamCarouselListBox has transparent background and it will not be notified for any element dropped. The event will be fired for the control that is beneath XamCarouselListBox.

    To solve your issue, always set any background different from transparent to XamCarouselListBox. You can also create an implicit style for XamCarouselListBox that has a setter for the Background property.

    Let me know if this helps you. Do not hesitate to ask further.

    Sincerely,

    Lazar Nikolov

    Infragistics

    www.infragistics.com/support