Search Results for

    Show / Hide Table of Contents

    Class RoutedEvent

    RoutedEvent is a unique identifier for any registered RoutedEvent

    Inheritance
    object
    RoutedEvent
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    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
    Overrides
    object.ToString()

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX