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
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
Hi Lazar,
Thanks for your reply. Setting the Background property works, but then I won't be able to bind that property.
Is it possible to set a default and bind it too?