makeNoneElement
This callback allows the user to set a Visual Element to replace the "List is empty" Label shown when the ListView is empty.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[CreateProperty]public Func<VisualElement> makeNoneElement { get; set; }
Remarks
Setting this callback to anything other than will remove the "List is empty" Label.
null