Table of Contents

Class RoutedEventHandlerInfo

Namespace
nanoFramework.UI
Assembly
nanoFramework.Graphics.dll

Container for handler instance and other invocation preferences for this handler instance

public class RoutedEventHandlerInfo
Inheritance
RoutedEventHandlerInfo
Inherited Members
Extension Methods

Remarks

RoutedEventHandlerInfo constitutes the handler instance and flag that indicates if or not this handler must be invoked for already handled events

This class needs to be public because it is used by ContentElement in the Framework to store Instance EventHandlers

Properties

Handler

Returns associated handler instance

public RoutedEventHandler Handler { get; }

Property Value

RoutedEventHandler

InvokeHandledEventsToo

Returns HandledEventsToo Flag

public bool InvokeHandledEventsToo { get; }

Property Value

bool

Methods

Equals(object)

Is the given object equivalent to the current one

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(RoutedEventHandlerInfo)

Is the given RoutedEventHandlerInfo equals the current

public bool Equals(RoutedEventHandlerInfo handlerInfo)

Parameters

handlerInfo RoutedEventHandlerInfo

Returns

bool

GetHashCode()

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table

public override int GetHashCode()

Returns

int

Operators

operator ==(RoutedEventHandlerInfo, RoutedEventHandlerInfo)

Equals operator overload

public static bool operator ==(RoutedEventHandlerInfo handlerInfo1, RoutedEventHandlerInfo handlerInfo2)

Parameters

handlerInfo1 RoutedEventHandlerInfo
handlerInfo2 RoutedEventHandlerInfo

Returns

bool

operator !=(RoutedEventHandlerInfo, RoutedEventHandlerInfo)

NotEquals operator overload

public static bool operator !=(RoutedEventHandlerInfo handlerInfo1, RoutedEventHandlerInfo handlerInfo2)

Parameters

handlerInfo1 RoutedEventHandlerInfo
handlerInfo2 RoutedEventHandlerInfo

Returns

bool