Class
EventHandlerList

Represents a list of delegates.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class EventHandlerList

Inheritance: objectEventHandlerList

Constructors

EventHandlerList()

Declaration

cs-api-definition
public EventHandlerList()

Properties

this[object]

Retrieves the delegate, associated with the provided key.

Declaration

cs-api-definition
public Delegate this[object key] { get; }

Parameters

key

object

The key that the delegate is associated with.

Property Value

Delegate

Methods

AddHandler(object, Delegate)

Adds the specified delegate associated with the provided key.

Declaration

cs-api-definition
public void AddHandler(object key, Delegate handler)

Parameters

key

object

The key the delegate to be associated with.

handler

Delegate

The delegate.

Clear()

Clears the list.

Declaration

cs-api-definition
public void Clear()

RemoveHandler(object, Delegate)

Removes the specified delegate associated with the provided key.

Declaration

cs-api-definition
public void RemoveHandler(object key, Delegate handler)

Parameters

key

object

The key that the delegate is associated with.

handler

Delegate

The delegate.