Moving objects on-screen after RotateTransform?
I have some objects that I am adding to a canvas. In the constructor of these objects I am capturing the MouseDown event which ties into some code that allows me to drag the objects around the screen. It works greatas long as I don't have any RenderTransform in the constructor. As soon as I add the rotate and render as shown below I am unable to drag the items around anymore.
double angle = rand.Next(-15,15);
rotation.Angle = angle;
this.RenderTransform = rotation;
this.MouseDown +=newMouseButtonEventHandler(mouseDown);
The this.rotation is a RotateTransform object. The problem seems to be in my OnMouseMove() which moves the object around the screen when the user drags it (and keep in mind this works correctly when no RenderTransform is found in the constructor). It still seems to work the same...the offsets are still being captured, but movement translation seems not to do anything. Here is the relevant portion of the OnMouseMove:
Vector offset = e.GetPosition(this) -this.mouseDownPt;this.translation.X += offset.X;this.translation.Y += offset.Y;The this.translation property is simply a TranslateTransform object. Anyone have any ideas? Does WPF disallow a TranslateTranform when a RotateTransform is in effect?

