private static void ExpandNodes(this TreeView treeView, IEnumerable <object> items, bool expandNode) { var expander = new Expander(treeView, items, expandNode); expander.ExpandNext(); }