static void ExpandAll(this PropertyEditor editor, bool state = true) { editor.Expand(state); foreach (var child in editor.ChildEditors) { child.ExpandAll(state); } }