Skip to main content
TextBoxBaseTextChanged Event
 
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.

Occurs when content changes in the text element.

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

public event TextChangedEventHandler TextChanged
public:
event TextChangedEventHandler^ TextChanged {
	void add(TextChangedEventHandler^ value);
	void remove(TextChangedEventHandler^ value);
}
member TextChanged : IEvent<TextChangedEventHandler,
    TextChangedEventArgs>
Public Event TextChanged As TextChangedEventHandler

For a TextBox, this event occurs when its text changes; for a RichTextBox, this event occurs when any content or formatting changes (for example, images, table, or background color).

Identifier field

TextChangedEvent

Routing strategy

Bubbling

Delegate

TextChangedEventHandler

.NET Framework
Available since 3.0
Return to top