Пример #1
0
 public Tree(TreeStyle style)
 {
     selection = new Selection <Node>();
     selection.SetElement(this);
     selection.SetMultiple(true);
     SetStyle(style);
     Initialize();
 }
Пример #2
0
 public void SetStyle(TreeStyle style)
 {
     this.style    = style;
     indentSpacing = Math.Max(style.Plus.MinWidth, style.Minus.MinWidth) + iconSpacingLeft;
 }