C#: RichTextBox, en stylen.

Als ge een RichTextBox styled, en daarna text op de volgende manier erbij zet vergeet hij de styles:

this.richTextBoxMain.Text += message.Text;

Maar als ge het op deze manier doet:

this.richTextBoxMain.AppendText(message.Text);

Doet ie dat niet :)

One thought on “C#: RichTextBox, en stylen.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>