文档

Unity Engine

Unity Engine

BaseListView.UxmlTraits

Defines UxmlTraits for the BaseListView.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. UxmlTraits is deprecated and will be removed. Use UxmlElementAttribute instead.
public class BaseListView.UxmlTraits : BaseVerticalCollectionView.UxmlTraits

Remarks

This class defines the list view element properties that you can use in a UI document asset (UXML file).

Properties

Property

Description

uxmlChildElementsDescriptionReturns an empty enumerable, because list views usually do not have child elements.

Methods

Method

Description

InitInitializes BaseListView properties using values from the attribute bag.

Inheritance