About 10,200,000 results
Open links in new tab
  1. How to show html contents with a RichTextBox? - Stack Overflow

    Use a hidden WebBrowser Control and load it with the html content you want. Then SelectAll() from the WebBrowser, Copy(), and Paste() into the richtextbox.

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

    Nov 16, 2012 · To render the HTML markup as text, the way it would appear if you were to "View Page Source", using syntax coloring, you can use a RichTextBox to an extent. Here is an example using XML, however since XML and HTML are so similar, you can probably modify the solution for HTML syntax rendering.

  3. Rich textbox that displays html like a web browser control

    Jun 20, 2012 · I am displaying text in a rich textbox and i want it to show the html formatting on the text. Is there a way to make a rich textbox display html. If you push the button on the following link you w...

  4. VS 2019 Displaying HTML in Rich Text Box-VBForums - Visual Basic

    Apr 4, 2024 · I want to display HTML content in rich text box. I am able to convert the HTML by loading it into a web browser control and then selecting all and then pasting on rich text box. It does work except it cannot show any images in the rich text box. Is there any way to import/show the images as well?

  5. HTML syntax highlight using Rich-Text Format (RTF)

    May 9, 2014 · In case you want to display HTML with highlighted/colored syntax the simplest way to go is use WinForms RichTextBox, all is needed is to add RTF color tags surrounding HTML elements. This helper class goal is exactly that, given a string containing HTML code it will return an RTF formatted string with the HTML elements…

  6. Display Web-Style Links with RichTextBox Control - Windows …

    Jun 1, 2023 · The Windows Forms RichTextBox control can display Web links as colored and underlined. You can write code that opens a browser window showing the Web site specified in the link text when the link is clicked.

  7. RichTextBox Control Overview - Windows Forms .NET Framework

    Feb 6, 2023 · The Windows Forms RichTextBox control is used for displaying, entering, and manipulating text with formatting. The RichTextBox control does everything the TextBox control does, but it can also display fonts, colors, and links; load text and embedded images from a file; and find specified characters.

  8. RichTextBox in C# - C# Corner

    A RichTextBox control accepts user input on a Form and provides rich text features. In this article, we discussed discuss how to create a RichTextBox control in Windows Forms at design-time as well as run-time. After that, we saw how to use various properties and methods.

  9. How to highlight HTML syntax in C# windows form RichTextBox?

    Apr 20, 2016 · I am writing a c# Html editor application, in which you type the code in a RichTextBox control. I want the RichTextBox to behave like notepad++ and other code editors in which the Html syntax gets highlighted in colors, like this for example: How can I establish this in C# windows form RichTextBox?

  10. How to Add Text in the RichTextBox in C#? - GeeksforGeeks

    Jul 17, 2019 · In RichTextBox, you are allowed to add text in the RichTextBox control which displays on the screen using Text Property. You can set this property in two different ways: 1. Design-Time: It is the easiest way to add text in the RichTextBox as shown in the following steps: