DictionaryPropertyChildren<TDictionary, TKey, TValue>

Represents the children of a dictionary property.

namespace Sirenix.OdinInspector.Editor
public sealed class DictionaryPropertyChildren<TDictionary, TKey, TValue> : PropertyChildren
where TDictionary : Object, IDictionary<TKey, TValue>


Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector


Definition Description
DictionaryPropertyChildren(InspectorProperty) Initializes a new instance of the DictionaryPropertyChildren<TDictionary, TKey, TValue> class.


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.


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.
void UpdateCount() Updates the child count of the property.