Click here to Skip to main content
15,910,471 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to set radio group items text as wrap text?
Posted
Comments
Sergey Alexandrovich Kryukov 30-Jan-12 3:41am    
It may depend on application type and your UI library. What is that: WPF, Forms, ASP.NET, what? Tag it.
--SA
Sergey Alexandrovich Kryukov 30-Jan-12 3:42am    

A suggestion to all experts:

We should stop attempting to answer any questions if OP does not properly specify type of application, UI library and other relevant detail which would exclude this kind of confusion. All type mentioned in the question should be written in fully-qualified form. We should request it and only answer when OP comply. Multiple failures to specify such detail became a curse of this forum.



--SA
sai sagar 30-Jan-12 3:52am    
it is windows application
Sergey Alexandrovich Kryukov 30-Jan-12 4:29am    
No! Nearly all applications are Windows application. What kind?
--SA
Sergey Alexandrovich Kryukov 30-Jan-12 4:31am    
And do not re-post. And please don't just answer, but tag it.
--SA

1 solution

you can insert <br> tag between your text from where you want text to wrap.

ie. "Code <br> project"

will be rendered as

Code
project
 
Share this answer
 
Comments
sai sagar 30-Jan-12 3:53am    
i want in windows application ...
kashif Atiq 30-Jan-12 4:09am    
then you can add Environment.NewLine in your text from code

i.e "Code" + Environment.NewLine + "Project"
sai sagar 31-Jan-12 0:39am    
it's not working

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