onAdd
This callback allows the user to implement their own code to be executed when the Add Button is clicked.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Action<BaseListView> onAdd { get; set; }
Remarks
This callback will only be called if _showAddRemoveFooter is set to . Setting this callback to anything other than will override the basic add behavior. This callback will be overriden if the _overridingAddButtonBehavior callback is set.
truenull