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!

1 Reply

AD Administrator Syncfusion Team October 14, 2006 05:52 AM UTC

Hi Lim,

Please use the following code snippet for underline the textbox content.

textBox1.Text = "Hello World";
textBox1.Font = new Font( "Times New Roman" , 12, FontStyle.Underline );

Regards,
Prabhu


>hi,

how to underline the textbox content?

Please help!

Loader.
Live Chat Icon For mobile
Up arrow icon