RoutedEventArgs.OnSetSource Method

Provides a notification callback entry point whenever the value of the Source property of an object changes.

Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

protected virtual void OnSetSource (
         Objectsource
)

Parameters

  • source
    Contains the object whose Source property triggers the invocation of this method.

Remarks

The OnSetSource method is protected virtual and is intended to be overridden by subclasses of the RoutedEventArgs class. Note that OnSetSource has no default implementation.

Note

Changing the reported source of an event programmatically can potentially require updating the type-specific data within the event.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

RoutedEventArgs Class
RoutedEventArgs Members
Microsoft.SPOT Namespace