overridingAddButtonBehavior
This callback allows the user to implement a DropdownMenu when the Add Button is clicked.
阅读时间1 分钟最后更新于 14 天前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Action<BaseListView, Button> overridingAddButtonBehavior { get; set; }
Remarks
This callback will only be called if BaseListView.showAddRemoveFooter is set to . Setting this callback to anything other than will override the basic add behavior. This callback will override the BaseListView.onAdd callback.
truenull