Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
XamDataTree drag-and-drop question/question about programmatic scrolling
posted

Hello Infragistics,

what would be the best way to achieve the following?

I want to drag file(s) from Windows Explorer over a XamDataTree instance in a WPF app and be able to drop them on specific nodes.
If I move the mouse to the lower or upper edge of the XamDataTree panel, the tree should scroll down or up, respectively, as long as I keep the mouse at that position.

The important part is the second sentence because I couldn't find a suitable method for programmatic scrolling in the XamDataTree library (ScrollNodeIntoView was the only related method that I found).

I figured that I cannot use the Infragistics Drag-and-Drop framework because this only works within the same application.

Note: I am not asking for a ready-made solution (although I wouldn't mind one) because I successfully implemented the same behavior for the standard WPF ListBox recently. My question is mainly about the best way to achieve programmatic scrolling with XamDataTree. I can probably do the rest on my own if I know.

Parents
  • 35319
    posted

    Hi Tjark,

     

    Thank you for your post. I was looking into your requirement and I was trying to scroll the XamDataGrid by changing the value of its scrollbar but without any success. I have logged this behavior in our internal tracking system with a Development ID of 186000.The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.  I will leave this case open and update you with this information after the review.  You can also continue to send updates to this case at any time.

     

    You can view the status of all development issues connected to this case from the "Development Issues" tab, when viewing this case on the "My Support Requests" page of our website.

Reply Children