RichTextBox.ContentChanged Event

Occurs when the content changes in a RichTextBox.

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

Syntax

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

Remarks

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

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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