[]
Raise the ValueChanged routed event.
protected virtual void OnValueChanged(RoutedEventArgs e)
Protected Overridable Sub OnValueChanged(e As RoutedEventArgs)
Type | Name | Description |
---|---|---|
RoutedEventArgs | e | The RoutedEventArgs instance containing the event data. |
Raising an event invokes the event handler through a delegate. The OnValueChanged method also enables derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
When overriding OnValueChanged in a derived class, be sure to call the base class's OnValueChanged method so that registered delegates receive the event.