# UnregisterAllRemovableCallbacks()

> Removes all callbacks registered with CallbackOptions.Removable from the instance.

## Definition

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

```csharp
public void UnregisterAllRemovableCallbacks()
```

### Remarks

This method throws an InvalidOperationException if called while an event callback is in the process of being invoked on this element.
