About 186,000 results
Open links in new tab
  1. RichTextBox Overview - WPF .NET Framework | Microsoft Learn

    Mar 17, 2022 · The RichTextBox control enables you to display or edit flow content including paragraphs, images, tables, and more. This topic introduces the TextBox class and provides examples of how to use it in both Extensible Application Markup Language (XAML) and C#. TextBox or RichTextBox?

  2. RichTextBox Class (System.Windows.Forms) | Microsoft Learn

    With the RichTextBox control, the user can enter and edit text. The control also provides more advanced formatting features than the standard TextBox control. Text can be assigned directly to the control, or can be loaded from a rich text format (RTF) or plain text file.

  3. How to append \\line into RTF using RichTextBox control

    Sep 16, 2014 · Since you want to use a different RTF code, I think you may need to forget about the simplistic AppendText () method and manipulate the .Rtf property of your RichTextBox directly instead. Here is a sample (tested) to demonstrate: string lineText = "example text" + i; richText.Append(lineText);

  4. Set RTF text into WPF RichTextBox control - Stack Overflow

    Sep 2, 2009 · One method to load RTF is this: rtfBox.Selection.Load(myStream, DataFormats.Rtf); You probably should call SelectAll() before that if you want to replace existing text.

  5. How to Append RTF Text in RichTextBox, Win C# - Stack Overflow

    richTextBox.Rtf value is "This is First Word". where First is bold. And I want to append a new text, which have bold text. The following function takes a reference to a RichTextBox, along with some formatting parameters. The function is documented: int start = rtb.TextLength; rtb.AppendText(text);

  6. How To Create Table in RichTextbox Using C# - Dotnet Stuff

    Jun 11, 2016 · Rich Text Format (RTF) specifications enable to format text and graphics. This formatting feature helps Rich Text Format to be used with different output devices, different operating systems, and operating environments.

  7. RichTextBox Class (System.Windows.Controls) | Microsoft Learn

    Represents a rich editing control which operates on FlowDocument objects. public class RichTextBox : System.Windows.Controls.Primitives.TextBoxBase, System.Windows.Markup.IAddChild. The following example declares a RichTextBox that contains a simple FlowDocument. using System.Windows; using System.Windows.Controls; using System.Windows.Media;

  8. C# | RichTextBox Class - GeeksforGeeks

    Sep 5, 2019 · In C#, RichTextBox control is a textbox which gives you rich text editing controls and advanced formatting features also includes a loading rich text format (RTF) files. Or in other words, RichTextBox controls allows you to display or edit flow content, including paragraphs, images, tables, etc.

  9. RichTextBox.Rtf Property (System.Windows.Forms) | Microsoft Learn

    Gets or sets the text of the RichTextBox control, including all rich text format (RTF) codes.

  10. The RichTextBox control - The complete WPF tutorial

    The RichTextBox is easy to use, has lots of features straight out of the box, and can easily be used if you wish to create a fully featured rich text editor. In the next article, we'll have a look at doing just that!

  11. Some results have been removed
Refresh