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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Underline textbox content

Thread ID:





49295 Sep 15,2006 07:18 AM UTC Sep 18,2006 04:54 PM UTC WinForms 4
Tags: Tools
Administrator [Syncfusion]
Asked On September 15, 2006 07:18 AM UTC


how to underline the textbox content?

Please help!

Administrator [Syncfusion]
Replied On September 15, 2006 12:07 PM UTC


Is it my problem not clear enough?

i want to do it dynamically.

Please advice me!

Purusothaman R [Syncfusion]
Replied On 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);


Administrator [Syncfusion]
Replied On September 16, 2006 07:11 AM UTC

Thank you!

Purusothaman R [Syncfusion]
Replied On September 18, 2006 04:54 PM UTC

Hi Lim,

Thanks for the Update.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon