Version: 2023.1
LanguageEnglish
  • C#

BaseListView.showAddRemoveFooter

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public bool showAddRemoveFooter;

Description

This property controls whether a footer will be added to the list view.

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.