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
695
Default DragSource Template
posted

I want to modify the default DragSource Template because when I completely override it, like this:

    <DataTemplate x:Key="ContentDragTemplate">
        <ContentControl Content="{Binding DragImage}" Opacity="0.5"/>
    </DataTemplate>
then, the DragImage is now centered on where I click instead of appearing from it's original position. 
I could write a transform to achieve this, but I figured you guys must have already done this, so why duplicate it.
I have looked in my hard drive for it and have come up empty - I looked here "C:\Program Files (x86)\Infragistics\NetAdvantage 2010.3\Silverlight\Default Styles"

Any help would be greatly appreciated.

thanks,

greg

Parents
No Data
Reply
  • 695
    posted

    One more question.. When I try to hide the view that is the DragSource, the image also gets hidden. How can I just hide the DragSource without the image also being hidden. In general, it would be helpful if I were given somewhere to look to see how all this works. The documentation is virtually non-existent.

Children