RichTextBox Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new, default instance of the RichTextBox class.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

new : unit -> RichTextBox

This constructor creates an empty FlowDocument that is associated with the Document property. Specifically, the empty FlowDocument contains a single Paragraph, which contains a single Run which contains no text.

.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: