Hey guys,
I'm working on a program that allows you to click on an item on a WPF form and rotate it using a control. I've got that part worked out but what I need to be able do is determine the angle of an item that is already rotated. Lets call the item that's been clicked on 'Focus_Panel' and it is an image object. I think that I need to capture Focus_Panel.RenderTransform and from there get the RotateTransform that contains the Angle property. I just can't figure out how bridge the gap between the Transform object and the RotateTransform object. It's also possible that I'm completely off base with this. If you can tell me how to capture the rotation property of an object I would appreciate it. I need this in VB.net please.
Thanks guys.