Version

TextChanged Event

Occurs after changes have been made to the document's text.
Syntax
'Declaration
 
Public Event TextChanged As EventHandler(Of TextChangedEventArgs)
public event EventHandler<TextChangedEventArgs> TextChanged
Event Data

The event handler receives an argument of type TextChangedEventArgs containing data related to this event. The following TextChangedEventArgs properties provide information specific to this event.

PropertyDescription
After Returns the current snapshot, which reflects the changes which triggered this event.
Before Returns the old snapshot, which reflects the state of the document before the changes which triggered this event.
Changes Returns a read-only list containing all changes that triggered this event.
Source Identifies the source of the change (read-only).
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also