RoutedEventArgs Constructor (RoutedEvent, Object)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the RoutedEventArgs class, using the routed event identifier that is provided. Note that using this constructor also gives you the opportunity to declare a different source for the event.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub New ( _
routedEvent As RoutedEvent, _
source As Object _
)
public RoutedEventArgs(
RoutedEvent routedEvent,
Object source
)
public:
RoutedEventArgs(
RoutedEvent^ routedEvent,
Object^ source
)
new :
routedEvent:RoutedEvent *
source:Object -> RoutedEventArgs
public function RoutedEventArgs(
routedEvent : RoutedEvent,
source : Object
)
Parameters
- routedEvent
Type: Microsoft.SPOT. . :: . .RoutedEvent
The routed event identifier for the current object.
- source
Type: System. . :: . .Object
An alternate source that will be reported when the routed event is handled.
Remarks
When you use this constructor, the unspecified properties of the new RoutedEventArgs object assume the following default values:
Handled defaults to false.
OriginalSource defaults to null Nothing nullptr unit a null reference (Nothing in Visual Basic) .
.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.