Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to give Underline to a textbox content Here no expression blend that is why i ask this question?
Posted

You need
TextDecorations="Underline"

I think this is what you are looking for.
:cool:
 
Share this answer
 
Comments
Kunal Chowdhury «IN» 9-Sep-10 8:17am    
TextBox doesn't have TextDecorations property. He is asking for underlining the string inside the TextBox. Don't know how this solved his problem... ;)
Hi Anish,

You can't underline the text of a TextBox. You can set Bold, Italic but not the Underline. The option itself is not available for Underline.
 
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