Click here to Skip to main content
15,913,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a listview with drag-drop feature enabled. The issue I am facing is that when drag is started for an item, the background of the item becomes blue (by default). Is there any way to prevent it from happening (i.e. the background should remain transparent).

Thanks
Posted

Look at this article; Drag and Drop Items in a WPF ListView[^] in particular the section on styling the drag item.
 
Share this answer
 
Comments
Abhinav S 29-Aug-11 13:12pm    
Good link. 5.
If you are using the Drag Drop controls[^] from the toolkit, then simply have a look at the styles to see what might have changed. Customize the style and use it in your own code.
 
Share this answer
 
v2
Yeah..I got a work around[yayy]. thanx guys :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900