Please refer to the attached screen shot.
I have set the DropTargetStyle property to a Style with color Yellow. The DropTargets are the XamTreeItems in the right window pane. The items are shown Yellow because I previously dragged an item from the ListBox on the left and shiped it over the XamTreeItems.
What do I need to do so that when the mouse cursor leaves an item that item reverts back to its original color?
Please refer to my original post in this thread and the initial reply.
Is it correct to say that the Style must be explicitly set to a normal style for this to work right?
If I don't initially set the style to a normal setting, then there is a default style for the control. Why won't the active style revert back to the default style whenever the cursor moves off an item?
I'm not questioning the validity of the design here, I'm just trying to get a better understanding of how things work and especially to verify the accuracy of my understanding. Any help will be greatly appreciated.
Hi,
That's correct. You have to have a style with your default settings so D&D framework can revert back to it.
Regards,
Hello,
Do you have any other questions on this matter?
Valerie