winform learning (8) RichTextBox Control

RichTextBox control allows the user to enter and edit text while providing a higher level than the average of the TextBox control formatting features.

RichTextBox control identifier .SelectionColor = Color.Blue; change the color of the selected character

RichTextBox control identifier .SelectionFont = new Font ( "official script", 20); change the font format and select the size of the character

.SelectionBullet = true; add bullets (preceded by a ●)

.SelectionBackColor background color, shading

 

Guess you like

Origin www.cnblogs.com/1016391912pm/p/11462740.html