예제 #1
0
 /// <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;
 }
예제 #2
0
 public TreeNodeLayoutEditor(TreeNodeLayout layout) : this()
 {
    this.layout = layout;
 }