Class RoutedEvent
RoutedEvent is a unique identifier for any registered RoutedEvent
Inherited Members
Namespace: nanoFramework.UI
Assembly: nanoFramework.Graphics.dll
Syntax
public sealed class RoutedEvent
Remarks
RoutedEvent constitutes the cref="RoutedEvent.Name" cref="RoutedEvent.RoutingStrategy" cref="RoutedEvent.HandlerType" cref="RoutedEvent.OwnerType"
NOTE: None of the members can be null
Constructors
RoutedEvent(string, RoutingStrategy, Type)
Create a new routed event.
You have to promise not to duplicate another event name in the system, or you will be sorry.
Declaration
public RoutedEvent(string name, RoutingStrategy routingStrategy, Type handlerType)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
RoutingStrategy | routingStrategy | |
Type | handlerType |
Properties
HandlerType
Returns Type of Handler for the RoutedEvent
Declaration
public Type HandlerType { get; }
Property Value
Type | Description |
---|---|
Type |
Remarks
HandlerType is a type of delegate
Name
Returns the Name of the RoutedEvent
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
RoutedEvent Name is unique within the OwnerType (super class types not considered when talking about uniqueness)
RoutingStrategy
Returns the RoutingStrategy of the RoutedEvent
Declaration
public RoutingStrategy RoutingStrategy { get; }
Property Value
Type | Description |
---|---|
RoutingStrategy |
Methods
ToString()
String representation
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |