Click here to Skip to main content
15,915,702 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone tell how to position the rectangle box containing password box and username text box at the middle of the window layout(on maximizing or minimize mode)i can only do it when it is minimized. When I maximize it will appear at the top left corner.
Posted
Updated 29-Sep-10 6:26am
v2
Comments
Hiren solanki 29-Sep-10 8:18am    
Please do not repost the question.

1 solution

Check the HorizontalAlignment and VerticalAlignment properties. Center should do the job...

btw. your question is not titled and tagged properly...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900