ListPropertyChildren

Represents the children of a list property.

namespace Sirenix.OdinInspector.Editor
{
public abstract class ListPropertyChildren : PropertyChildren, IEditableListPropertyChildren
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 1.0.6.1

Fields

Return Type Definition Description
int count The count of children.
int maxListChildCount The largest count of a list in this property (for multi-selection).

Constructors

Definition Description
ListPropertyChildren(InspectorProperty) Initializes a new instance of the ListPropertyChildren class.

Properties

Return Type Definition Description
int ActualCount The actual number of children; this is different from !:Count, in that !:Count will be 0 if GetAllowChildren() is false.
bool IsCollection Whether this PropertyChildren instance represents the elements of a collection.
int MaxListChildCount Gets the maximum list child count.

Methods

Return Type Definition Description
InspectorProperty CreateChild(int) Creates a child property for the given index.
bool GetAllowChildren() Determines whether to allow children on the property or not.
string GetPathImplementation(int) The implementaton that calculates a path for a given index.