Vixen
02b45cc4
csharp
public sealed class CompositeEditor

The controls a composite drawer keeps between its build and its refresh.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ State on the element rather than on the drawer. A drawer is registered once and drawn for every row of every inspector in the process, so a field on it would be shared between two panels showing two different objects. The element is per row, which is what the value being edited is.

Fields and properties (5)

  • protected override string TagName

    The element name this type answers to when a caller does not choose one.

  • protected override bool AcceptsFocus

    Whether the focus can rest on this kind of control at all.

  • public Expander Fold

    The foldout the members are under.

  • public List<InspectorRow> Rows

    The rows, one per member or element.

  • public List<object> Working

    One working value per outer target, which the child rows are bound to and which is written back through the outer member.

Used by (3)

  • CompositeTestsVixen.Editor.Inspector.Tests
  • ListDrawerVixen.Editor.Inspector
  • NestedDrawerVixen.Editor.Inspector