Method OnSetSource
OnSetSource(object)
Invoked when the source of the event is set
protected virtual void OnSetSource(object source)
Parameters
source
objectThe new value that the SourceProperty is being set to
Remarks
Changing the source of an event can often require updating the data within the event. For this reason, the OnSource= method is protected virtual and is meant to be overridden by sub-classes of RoutedEventArgs
Also see Source