Click here to Skip to main content
15,118,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have to align left or right or center to my label text using alignment property
but in dynamic added label how can i do this
Posted
Updated 30-Nov-12 22:46pm
v2
Comments
OriginalGriff 1-Dec-12 3:39am
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
hareshdgr8 1-Dec-12 3:46am
   
now is it fine for you or nor?

After creating the Label set the TextAlign property[^] to the ContentAlignment[^] off your choice.
   
convert in to label control property after that you can use it.... :-)
   

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