About 51 results
Open links in new tab
  1. c# - Richtextbox wpf binding - Stack Overflow

    To do DataBinding of the Document in a WPF RichtextBox, I saw 2 solutions so far, which are to derive from the RichtextBox and add a DependencyProperty, and also the solution with a "proxy". Neith...

  2. Color different parts of a RichTextBox string - Stack Overflow

    136 I'm trying to color parts of a string to be appended to a RichTextBox. I have a string built from different strings.

  3. How can I insert an image into a RichTextBox? - Stack Overflow

    You can paste (Ctrl+V) an image into a RichTextBox - Funny thing though; When I save the RichTextBox RTF property to a file while the image is already pasted into the RichTextBox, it seems …

  4. c# - How to use multi color in richtextbox - Stack Overflow

    Nov 5, 2012 · I using C# windows forms and I have richtextbox and I want to color some text in red, some in green and some in black. How to do so? Image attached.

  5. .net - Adding strings to a RichTextBox in C# - Stack Overflow

    May 20, 2016 · I currently have a function that will set a value to a RichTextBox, although how could you "add" a value or a new line to it, rather than overwriting existing data in the RichTextBox? …

  6. c# - transparent richTextBox - Stack Overflow

    Feb 5, 2011 · how can I make my richtext box transparent I want this cuz I am trying to put a text on top of a graphic image (which is the background of my form). That is why I wanted the richTextBox to be

  7. How to 'align' text in RichTextBox C#? - Stack Overflow

    Feb 11, 2017 · If you want only part of the textbox with a certain alignment, then use the RichTextBox.Select () routine to select the text, then set the SelectionAlignment property.

  8. Insert actual \\line tags in RTF content of RichTextBox based on ...

    Jun 5, 2025 · I want to insert real line breaks (\line) in the RTF content of a RichTextBox after the user manually resizes the control. The goal is to preserve the current word wrapping positions and make …

  9. c# - HTML Formatting in RichTextBox - Stack Overflow

    Nov 16, 2012 · I've been working with HTML strings obtained from an XML file. I'm trying to figure out a way to display these strings in a richtextbox with formatting. So e.g. <p>This is a <strong>...

  10. Windows Forms RichTextBox cursor position - Stack Overflow

    May 17, 2016 · I have a C# Windows Forms program that has a RichTextBox control. Whenever the text inside the box is changed (other than typing that change), the cursor goes back to the beginning. In …