Now I can draw rectangle in canvas using a mousedown and mousemove events
I want to select rectangles and drag them in canvas ( move ) and resize them 
how ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://www.codeproject.com/KB/WPF/WPF_DrawTools.aspx
Even if your implementation is simpler than this sample, you can still learn from the sample how to make hit test, selection, group selection, draw resizing handles, change z-order, and finally, move and resize objects. Note that this is kind of low-level Winforms-style solution. You can get similar functionality using high-level WPF support.