Share via


RoutedEventArgs Constructor

[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.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub New
public RoutedEventArgs()
public:
RoutedEventArgs()
new : unit -> RoutedEventArgs
public function RoutedEventArgs()

Remarks

When you use this parameterless constructor, all public properties of the new RoutedEventArgs object assume the following default values:

  • RoutedEvent defaults to null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

  • Handled defaults to false.

  • Source defaults to null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

  • OriginalSource defaults to null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

Setting the Source and OriginalSource properties to null Nothing nullptr unit a null reference (Nothing in Visual Basic) means that the current RoutedEventArgs object makes no attempt to specify the source. When this object is used in a call to the RaiseEvent method, those values are populated based on the element that raised the event. The values are then passed on through the routing.

.NET Framework Security

See Also

Reference

RoutedEventArgs Class

RoutedEventArgs Overload

Microsoft.SPOT Namespace