RoutedEventArgs Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides state information and event data associated with a particular routed event.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT. . :: . .EventArgs
Microsoft.SPOT..::..RoutedEventArgs
Microsoft.SPOT.Input. . :: . .InputEventArgs
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Class RoutedEventArgs _
Inherits EventArgs
public class RoutedEventArgs : EventArgs
public ref class RoutedEventArgs : public EventArgs
type RoutedEventArgs =
class
inherit EventArgs
end
public class RoutedEventArgs extends EventArgs
The RoutedEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RoutedEventArgs() () () () | Initializes a new instance of the RoutedEventArgs class. | |
RoutedEventArgs(RoutedEvent) | Initializes a new instance of the RoutedEventArgs class, using the routed event identifier that is provided. | |
RoutedEventArgs(RoutedEvent, Object) | 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. |
Top
Properties
Name | Description | |
---|---|---|
Handled | Gets or sets a value that indicates the present state of the event handling for a particular routed event as it travels the route. | |
OriginalSource | Gets the original object that raised the current routed event. | |
RoutedEvent | Gets or sets a routed event. | |
Source | Gets or sets a reference to the object that raised the current routed event. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSetSource | Provides a notification callback entry point whenever the value of the Source property of an object changes. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
You can use multiple RoutedEventArgs objects with a single routed event. This class provides extra event state information about the routed event. The event system uses this class to invoke the handler associated with the routed event.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.