Click here to Skip to main content
15,922,574 members
Articles / Desktop Programming / Windows Forms

Retrieving TreeView nodes as IEnumerable

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
30 Jan 2012CPOL 11.1K   2  
Here is yet another alternative (originally from http://xacc.wordpress.com/2009/03/05/tree-traversal-extension-methods/[^]):public static class TreeExtensions{ public static IEnumerable TraverseDepthFirst( this T t, Func valueselect, Func<T,...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
South Africa South Africa
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions