Hi,

I have a usercontrol that is dynamically created on the canvas of my application.
after a good amount of time over the net, i couldnt get the answer for the below.
how do I align the usercontrol to the canvas left, center, top, bottom and right alignments on the canvas so that the user control moves on the radio button clicks of the user for alignment that i have given.

thanks in advance.

Hello,
the only approach I see is calculating the position by yourself, like here: C# Align User Interface.
Don't know, if there any better way to achieve that.