1
Vote

DropTarget Control Scale transform not resize drop target panal

description

when we scale a silverlight control which have drop target
drop target not scale when ui element scale
i am tired to do this
thanks in advance
zahid ishaq

comments

mirceas wrote Mar 24, 2011 at 10:44 AM

I have the same issue. The DropTarget behaves completely wrong when for example is hosted in a Viewbox control that scales the content.
And that is normal, as long as the hosted control in Viewbox keeps ActualWidth and ActualHeight constant.
I've tried lots of workarounds, none helped so far.
The basic approach would be to resize the DropTarget control when the parent Viewbox size changes. But this ends up at some point in "memory access violation" exceptions, which is too much already.

Anyone found a solution yet?

wrote Feb 14, 2013 at 12:54 AM