# EventCallback

> A static class that allows creation of EventCallbackDefinition and EventCallbackDefinition<TElement> instances.

## Definition

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

```csharp
public static class EventCallback
```

## Static Methods

| Method                                                                                   | Description                                                                                                                                                                     |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Create](/engine/6000.6/script-reference/unityengine/uielements/eventcallback/create.md) | Creates a callback instance that will call the given `userCallback` delegate when registered on an element that is part of the propagation chain of any event of type `TEvent`. |
