public Tree(TreeStyle style) { selection = new Selection <Node>(); selection.SetElement(this); selection.SetMultiple(true); SetStyle(style); Initialize(); }
public void SetStyle(TreeStyle style) { this.style = style; indentSpacing = Math.Max(style.Plus.MinWidth, style.Minus.MinWidth) + iconSpacingLeft; }