If I catch SelectionChanged or PreviewSelectionChanged on the TreeView and in those methods, open a ChildWindow, when the ChildWindow is closed I find myself in the middle of a very much unwanted Drag and Drop.
As a work around I've been checking to see if the Left mouse button is down in the PreviewDragStarted, but there seem to be some edge cases where that is not working (haven't look too much into why not)
I've uploaded a sample: http://cid-59ff4ebecaa94076.skydrive.live.com/self.aspx/Public/UnWantedDragDrop.zip
Is there a better work around or fix?
As a work around I've been checking to see if the Left mouse button is down in the PreviewDragStarted, but there seem to be some edge cases where that is not working (haven't look too much into why not)
I've uploaded a sample: http://cid-59ff4ebecaa94076.skydrive.live.com/self.aspx/Public/UnWantedDragDrop.zip
Is there a better work around or fix?