Click here to Skip to main content
15,885,216 members
Articles / Desktop Programming / Windows Forms

TreeViewWalker - Simplifying Recursion

Rate me:
Please Sign up or sign in to vote.
4.90/5 (30 votes)
20 Feb 2006CPOL6 min read 215.4K   1.4K   96  
A utility class which makes it easier to create recursive methods that operate on the TreeView control
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TreeViewWalkerDemo", "TreeViewWalkerDemo\TreeViewWalkerDemo.csproj", "{B8E0A0F5-69C2-4172-9351-B125AEA3230E}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TreeViewWalker", "TreeViewWalker\TreeViewWalker.csproj", "{156A99E7-DB8B-4460-AAC4-9421BF27DA42}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		Debug = Debug
		Release = Release
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{B8E0A0F5-69C2-4172-9351-B125AEA3230E}.Debug.ActiveCfg = Debug|.NET
		{B8E0A0F5-69C2-4172-9351-B125AEA3230E}.Debug.Build.0 = Debug|.NET
		{B8E0A0F5-69C2-4172-9351-B125AEA3230E}.Release.ActiveCfg = Release|.NET
		{B8E0A0F5-69C2-4172-9351-B125AEA3230E}.Release.Build.0 = Release|.NET
		{156A99E7-DB8B-4460-AAC4-9421BF27DA42}.Debug.ActiveCfg = Debug|.NET
		{156A99E7-DB8B-4460-AAC4-9421BF27DA42}.Debug.Build.0 = Debug|.NET
		{156A99E7-DB8B-4460-AAC4-9421BF27DA42}.Release.ActiveCfg = Release|.NET
		{156A99E7-DB8B-4460-AAC4-9421BF27DA42}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Software Developer (Senior)
United States United States
Josh creates software, for iOS and Windows.

He works at Black Pixel as a Senior Developer.

Read his iOS Programming for .NET Developers[^] book to learn how to write iPhone and iPad apps by leveraging your existing .NET skills.

Use his Master WPF[^] app on your iPhone to sharpen your WPF skills on the go.

Check out his Advanced MVVM[^] book.

Visit his WPF blog[^] or stop by his iOS blog[^].

See his website Josh Smith Digital[^].

Comments and Discussions