tags:

views:

12

answers:

1

Hi, I would like to know if there is a way to resize a button Width using the mouse, like when you are in the design mode, I'd like to change the cursor to the resize cursor when the mouse pass over the edge of the button, and with a sutained click resize the button.

thanks !!

+1  A: 

You should look into using Adorners for this. Here is an article on Code Project that describes how to "drag, resize and rotate elements on a Canvas", with and without Adorners: WPF Diagram Designer: Part 1

Quartermeister
Wow, seems like this is a very good aproach !! I'll test it in the weekend .. Thanks !!!
carlos