Please have a look at the DragDropManager Migration article
if you have not done so already as it describes how to migrate from using the old RadDragAndDropManager
to the new DragDropManager
As suggested there, you should handle the DragInitialize
method inside of which you can get the OriginalSource
and check whether it's inside the visual tree of the ScrollBar
by using the ParentOfType<T>
A good example of how this can be done has been demonstrated in the Tree to Grid Drag
demo from the WPF Controls Samples
I hope you find this information helpful. Do let me know if you need any further assistance on the matter. If that is the case, please provide more information on your exact requirements and possibly a sample project demonstrating your current approach.
I'm looking forward to your reply.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow
you to write beautiful native mobile apps using a single shared C# codebase.