# IEventHandler

> Interface for class capable of handling events.

## Definition

* **Type:** Interface
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public interface IEventHandler
```

## Methods

| Method                                                                                                                   | Description                                                                                                                                               |
| ------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [HandleEvent](/engine/6000.7/script-reference/unityengine/uielements/ieventhandler/handleevent.md)                       | Handles an event according to its propagation phase and current target, by executing the element's default action or callbacks associated with the event. |
| [HasBubbleUpHandlers](/engine/6000.7/script-reference/unityengine/uielements/ieventhandler/hasbubbleuphandlers.md)       | Returns true if event handlers for the event propagation BubbleUp phase, have been attached to this object.                                               |
| [HasTrickleDownHandlers](/engine/6000.7/script-reference/unityengine/uielements/ieventhandler/hastrickledownhandlers.md) | Returns true if event handlers, for the event propagation TrickleDown phase, are attached to this object.                                                 |
| [SendEvent](/engine/6000.7/script-reference/unityengine/uielements/ieventhandler/sendevent.md)                           | Sends an event to the event handler.                                                                                                                      |
