# overridingAddButtonBehavior

> This callback allows the user to implement a DropdownMenu when the Add Button is clicked.

## Definition

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

```csharp
public Action<BaseListView, Button> overridingAddButtonBehavior { get; set; }
```

### Remarks

This callback will only be called if [\_showAddRemoveFooter](/engine/6000.5/script-reference/unityengine/uielements/baselistview/showaddremovefooter.md) is set to `true`. Setting this callback to anything other than `null` will override the basic add behavior. This callback will override the [\_onAdd](/engine/6000.5/script-reference/unityengine/uielements/baselistview/onadd.md) callback.
