Class EventHandlersStore
Implements container for Event Handlers
Inheritance
System.Object
EventHandlersStore
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class EventHandlersStore
Methods
AddRoutedEventHandler(RoutedEvent, Delegate)
Adds the routed event handler.
Declaration
public void AddRoutedEventHandler(RoutedEvent routedEvent, Delegate handler)
Parameters
Type | Name | Description |
---|---|---|
RoutedEvent | routedEvent | The routed event. |
System.Delegate | handler | The handler. |
Contains(RoutedEvent)
Determines whether [contains] [the specified routed event].
Declaration
public bool Contains(RoutedEvent key)
Parameters
Type | Name | Description |
---|---|---|
RoutedEvent | key | The key. |
Returns
Type | Description |
---|---|
System.Boolean |
RemoveRoutedEventHandler(RoutedEvent, Delegate)
Removes the routed event handler.
Declaration
public void RemoveRoutedEventHandler(RoutedEvent routedEvent, Delegate handler)
Parameters
Type | Name | Description |
---|---|---|
RoutedEvent | routedEvent | The routed event. |
System.Delegate | handler | The handler. |