I am developing a photo app in windows phone 7. I want a Rectangle having circles on corner of it, that will allow the user to resize the rectangle from the corner (circles) and if the user want to Move the rectangle then Drag it in any direction. See the sample below.
I am using this mechanism to Crop the image via this rectangle, You mostly will have seen this type of control in the Image editor especially in iPhone photo apps. I have checked all sample aaps and other ideas on google.com but never seen such type of idea. I also read the Canvas and their manipulation event concept but don't know how to implement and even don't understand that is it used for such mechanism or not? Please a complete source code in this regard may highly be appreciated.
See the Sample figures, you will get the idea, what exactly I want.