Control. Text Changed Event
public: virtual event EventHandler ^ TextChanged;
public event EventHandler TextChanged;
member this.TextChanged : EventHandler
Public Custom Event TextChanged As EventHandler
Raising an event invokes the event handler through a delegate. For more information about how to handle events, see Handling and Raising Events.
The OnTextChanged method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.