About 1,070,000 results
Open links in new tab
  1. 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 …

  2. What is the benefit of using a RichTextBox over a TextBox?

    Dec 23, 2011 · Well, for example you can select a portion of the text and change its font, size, weight, etc in a RichTextBox. You can also insert inline images in an RTB. Just generally more …

  3. c# - How to add spell check in a richtextbox? - Stack Overflow

    Jun 3, 2012 · Spell checking doesn't work with WPF RichTextBox. Related. 2. Managing Spell-check Dictionary WPF. 0.

  4. Changing font for richtextbox without losing formatting

    Now to change the font name of all the contents of richtextbox while keeping other formatting intact, you need to loop through all the characters of the richtextbox and apply font name one …

  5. How can I make a hyperlink work in a RichTextBox?

    Jan 12, 2009 · RichTextBox class allows you to customize its behavior when user clicks the hyperlink. Add an event handler for the RichTextBox.LinkClicked event. Process p = new …

  6. Saving/Loading RichTextBox Content with other data using C#

    May 14, 2009 · Load the section of that file that is the contents of the richtextbox into a MemoryStream; Load the richtextbox contents from that MemoryStream; Or are you wanting …

  7. c# - Richtextbox wpf binding - Stack Overflow

    Otherwise we'll see an of "Document belongs to another RichTextBox" Private Sub Rtb_Unloaded(ByVal sender As System.Object, ByVal e As …

  8. c# - How to get RTF from RichTextBox - Stack Overflow

    Jul 21, 2016 · There are 2 RichTextBox classes, one from the winforms framework and one from the WPF framework: System.Windows.Controls.RichTextBox wpfBox; …

  9. How to assign contents of List<String> to a RichTextBox?

    Jun 19, 2012 · This is why assigning the .ToArray to the .Lines property of the RichTextBox or a loop (or aggregate) to concatenate the List Of String into one string to suit the .Text property of …

  10. How do I get the start and end index from a selection inside …

    May 3, 2018 · You can find the index of the Selection's start and end with this... var docStart = textBox.Document.ContentStart; var selectionStart = textBox.Selection.Start; var selectionEnd …