/// <summary> /// Initializes a new instance of the TreeNodeLayout class, as a copy of /// the given TreeNodeLayout. /// </summary> /// <param name="layout">The TreeNodeLayout to copy.</param> public TreeNodeLayout(TreeNodeLayout layout) { this.LayoutItems = new TreeNodeLayoutItemCollection(layout.layoutItems); this.itemHeight = layout.itemHeight; this.fullRowSelect = layout.fullRowSelect; this.paddingLeft = layout.paddingLeft; this.paddingRight = layout.paddingRight; }
public TreeNodeLayoutEditor(TreeNodeLayout layout) : this() { this.layout = layout; }