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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Underline textbox content

Thread ID:

Created:

Updated:

Platform:

Replies:

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

hi,

how to underline the textbox content?

Please help!

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

hi!

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);

Thanks,
Purusothaman.R

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,
Purusothaman.R

CONFIRMATION

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.

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

;