haithambradai / gong-wpf-dragdrop

Automatically exported from code.google.com/p/gong-wpf-dragdrop
0 stars 0 forks source link

Highlight adorner outlines too much when TreeView item is collapsed #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Change the DefaultDropHandler to use DropTargetAdorners.Highlight instead of 
DropTargetAdorners.Insert (an easy way to demonstrate the issue)
2. Run the DefaultsExample
3. Select the Bound TreeViews tab
4. Expand Root1
5. Collapse Root1
6. Expand Root2
7. Drag Item10 over Root1

What is the expected output? What do you see instead?
You will see that the highlight outline covers the space that Root1 did have 
when it was expanded.
It should only cover the now collapsed space.

What version of the product are you using? On what operating system?
Revision 38. Windows XP.

Please provide any additional information below.
Patch to fix it is attached.

Original issue reported on code.google.com by neilboyd on 11 Oct 2011 at 3:12

Attachments: