Hi there, I'm attempting to use the XamDataTree in place of the regular WPF TreeView control and am running into a problem.
In our application we handle our own drag/drop in order to move our data items around between controls. So we handle the PreviewMouseMove event on the TreeView and check to see if the left mouse button is pressed.
This worked fine with WPF's TreeView, but in the XamDataTree when I click on an element in the tree, hold down the left mouse button, and move the mouse the event fires properly but the LeftButton property of the MouseButtonEventArgs paramater is not set to MouseButtonState.Pressed.
If I click outside the XamDataTree and then move the mouse into the control the LeftButton is properly set to Pressed.
Any ideas here?
Hi Matt,
After about a day of testing and comparing I've discovered that in order to reproduce this problem you simply need to place the XamDataTree inside of an OutlookBarGroup inside of a XamOutlookBar. Which is how we were using it in our application.
I was able to verify this in the sample application you sent me and have re-attached it in the support item.
Please let me know of any workaround or modification I can do to get this to work.
Thanks!
HI,
I was unable to reproduce your issue.
I am attaching a sample project for your review.
Please feel free to modify it so that it reproduces your issue.
Sincerely. Matt Developer Support Engineer