public ButtonMenu(WpfTreeView treeView, List <ButtonItem> buttons) { this._buttonItems = buttons; foreach (ButtonItem bi in buttonItems) { bi._parent = this; } this._treeView = treeView; }
public ButtonMenu(WpfTreeView treeView) { this._buttonItems = new List <ButtonItem>(); this._treeView = treeView; }