編輯

共用方式為


TextBoxBase.TextChanged Event

Definition

Occurs when content changes in the text element.

public:
 event System::Windows::Controls::TextChangedEventHandler ^ TextChanged;
public event System.Windows.Controls.TextChangedEventHandler TextChanged;
member this.TextChanged : System.Windows.Controls.TextChangedEventHandler 
Public Custom Event TextChanged As TextChangedEventHandler 

Event Type

Remarks

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).

Routed Event Information

Identifier field TextChangedEvent
Routing strategy Bubbling
Delegate TextChangedEventHandler

Applies to

See also