Table of Contents

Class RoutedEvent

Namespace
nanoFramework.UI
Assembly
nanoFramework.Graphics.dll

RoutedEvent is a unique identifier for any registered RoutedEvent

public sealed class RoutedEvent
Inheritance
RoutedEvent
Inherited Members
Extension Methods

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.

public RoutedEvent(string name, RoutingStrategy routingStrategy, Type handlerType)

Parameters

name string
routingStrategy RoutingStrategy
handlerType Type

Properties

HandlerType

Returns Type of Handler for the RoutedEvent

public Type HandlerType { get; }

Property Value

Type

Remarks

HandlerType is a type of delegate

Name

Returns the Name of the RoutedEvent

public string Name { get; }

Property Value

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

public RoutingStrategy RoutingStrategy { get; }

Property Value

RoutingStrategy

Methods

ToString()

String representation

public override string ToString()

Returns

string