This is my first thread on this forum and i'm a beginner on WPF.
After google-ing for long time, it seems I can't find a solution for my problem.
I'm working on WPF form. The form contains a canvas and I create Labels on the Canvas dynamically at run-time.
First I had a problem to move the control on the canvas, but eventually I solved this problem by using a class implemented by Josh smith from
his article on codeproject.com. Now, I can move my lables freely on the Canvas.
But now, I want to resize the labels width or height that are created at run-time.
I changed the cursor of the mouse to (horizontal scroll or Vertical scroll) when it touched when of the edges of the label.
but I can't find how to implement the resizing when the mouse goes down or pressed to stretch the label.
Many tutorials found on the web talks about resizing controls the are previously declared in xaml and I want to implement it at code-behind.
Can please help me.
Thanks for help in advance.
View Complete Post