Data edit

Build from scratch

DataEdit builds a node freely: add properties and array items of any type, rename keys, set values, remove rows.

<data:DataEdit Node="{Binding Node}" />
public DataObject Node { get; set; } = new("");
  • New properties are named key, key 1, key 2…; a duplicate key is flagged on its text box.
  • Add on an array picks the item type, or clones its Template when it has one.
  • A Choice value edits its options (strings) from the list button next to it: type one and press Enter, or remove one. The first option becomes the value.

Without a bound Node, it starts from an empty object. ManualValues works as in Data fill.