Table of Contents

Class ListField<T>

Namespace
Ceres.Editor.Graph
Assembly
Ceres.Graph.Editor.dll
public class ListField<T> : BaseField<List<T>>

Type Parameters

T
Inheritance
ListField<T>
Derived

Constructors

ListField(string, Func<VisualElement>, Func<object>)

public ListField(string label, Func<VisualElement> elementCreator, Func<object> valueCreator)

Parameters

label string
elementCreator Func<VisualElement>
valueCreator Func<object>

Fields

ElementCreator

protected readonly Func<VisualElement> ElementCreator

Field Value

Func<VisualElement>

Properties

value

public override sealed List<T> value { get; set; }

Property Value

List<T>

Methods

GetListItemHeight()

protected virtual int GetListItemHeight()

Returns

int

OnBindListItem(VisualElement, int)

protected virtual void OnBindListItem(VisualElement e, int i)

Parameters

e VisualElement
i int

OnMakeListItem()

protected virtual VisualElement OnMakeListItem()

Returns

VisualElement

OnRequestAddListItem()

protected virtual void OnRequestAddListItem()