Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

Issue with TreeView Drag DropTarget feature

$
0
0

I am working on  Silver light tree view drag and drop functionality.

 I am facing some challenges  here, If I drop and target its creates a sub item. I need to disable this action. This is the default behavior  for drag and drop action in tree view control.

 If I drop the dragged item in-between 2 items its works correctly. But its creates a sub item when I dropped  on the  target item.

 

I tried couple of options but that didn’t help me

 

1.Added Allowed source effect to copy, move and scroll.

2.Added Styles and property using Expression blend and try to stop the action.

3.Check the drop target using Microsoft.Windows.DragEventArgs and tried to restrict the default behavior.


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>