showFoldoutHeader
This property controls whether the list view displays a header, in the form of a foldout that can be expanded or collapsed.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[CreateProperty]public bool showFoldoutHeader { get; set; }
Remarks
The default value is . When this property is set to , Unity adds a foldout in the hierarchy of the list view and moves the scroll view inside that newly created foldout. You can change the text of this foldout with BaseListView.headerTitle property on the ListView. If BaseListView.showBoundCollectionSize is set to , the ListView includes a TextField to control the array size. If the BaseListView.makeHeader callback is set, no Foldout is shown.
falsetruetrue