Differentiate RichTextBox and TextBox control

Write the main difference between a RichTextBox and TextBox control.

E

Expert

Verified

RichTextBox control is same TextBox control but it is slightly different that it allows a user to format its text also. We can format text in different ways, like bold, italic, and underlined as well as modify its color and font. We could save our RichTextBox value to the RTF (Rich Text Format) file and can load value of RTF file to a RichTextBox control.

TextBox control is the input control that allows the user to enter text to the application during runtime. By default, it permits only single line text; though, we can change its property to accept a multiline text as well as the scroll bar also.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.