954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

setting a dynamic usercontrol to the canvas alignment.

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.

arunkumars
Junior Poster
186 posts since Jul 2009
Reputation Points: 26
Solved Threads: 22
 

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.

Antenka
Posting Whiz
362 posts since Nov 2008
Reputation Points: 293
Solved Threads: 82
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: