We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Underline textbox content

hi,

how to underline the textbox content?

Please help!

4 Replies

AD Administrator Syncfusion Team September 15, 2006 12:07 PM UTC

hi!

Is it my problem not clear enough?

i want to do it dynamically.

Please advice me!


PR Purusothaman R Syncfusion Team September 15, 2006 04:52 PM UTC

Hi Lim,

The Font of the Textbox can be changed dynamically by using the "Font" property and by setting the FontStyle to Underline. Here is the code snippet for the same.

textBoxExt1.Font=new Font(textBoxExt1.Font,FontStyle.Underline);

Thanks,
Purusothaman.R


AD Administrator Syncfusion Team September 16, 2006 07:11 AM UTC

Thank you!


PR Purusothaman R Syncfusion Team September 18, 2006 04:54 PM UTC

Hi Lim,

Thanks for the Update.

Best Regards,
Purusothaman.R

Loader.
Live Chat Icon For mobile
Up arrow icon