Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


showAddRemoveFooter

This property controls whether a footer will be added to the list view.
Read time 1 minuteLast updated 4 days ago

Definition

[UxmlAttribute]public bool showAddRemoveFooter { get; set; }

Remarks

The default value is
false
. When this property is set to
true
, Unity adds a footer under the scroll view. This footer contains two buttons: A "+" button. When clicked, it adds a single item at the end of the list view. A "-" button. When clicked, it removes all selected items, or the last item if none are selected. If the _makeFooter callback is set, it will override this property.