OnSetSource Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
'Declaration
Protected Overridable Sub OnSetSource ( _
source As Object _
)
protected virtual void OnSetSource(
Object source
)
protected:
virtual void OnSetSource(
Object^ source
)
abstract OnSetSource :
source:Object -> unit
override OnSetSource :
source:Object -> unit
protected function OnSetSource(
source : Object
)
Parameters
- source
Type: System. . :: . .Object
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.