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.
Up arrow icon