Share via


UIElement.AddToEventRoute Method

Adds handlers to the specified event route for the current element's event handler collection.

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

Syntax

public void AddToEventRoute (
         EventRouteroute,
         RoutedEventArgsargs
)

Parameters

  • route
    The event route to which handlers are to be added.
  • args
    The event data to be used to add the handlers. The AddToEventRoute method uses the RoutedEventArgs.RoutedEvent property to create the handlers.

Version Information

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

See Also

Reference

UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace