RichTextBox.ContentChanged Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Occurs when the content changes in a RichTextBox.

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


Public Event ContentChanged As ContentChangedEventHandler
public event ContentChangedEventHandler ContentChanged
<RichTextBox ContentChanged="eventHandler"/>


The following actions trigger the ContentChanged event:

If the Blocks property is set to the same object instance as the existing content in the RichTextBox, the event is not raised.

Version Information


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.