|
-
September 2nd, 2008, 08:30 AM
#1
Get UserControl Position
Hi all!
In my app, the user can drag and drop some usercontrols. Now, I am coding a XML file which the user can save his preferences, so it is necessary to get the position which the usercontrols are displayed.
How can i get the x and y positions value of these controls?
Thank you in advance.
-
September 2nd, 2008, 09:25 AM
#2
Re: Get UserControl Position
There is a Location property in the UserControl class. It returns the coordinates of the control inside the area of its container.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|