Click here to Skip to main content
15,884,298 members
Articles / Programming Languages / C#

Quick and Dirty TreeView

Rate me:
Please Sign up or sign in to vote.
4.25/5 (8 votes)
25 Mar 2013CPOL3 min read 12K   67   8  
Design to create a simple tree view that can be copy and pasted
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuickDirtyTreeView
{
	public class Class2
	{
		public long Id { get; set; }
		public string Name { get; set; }
		public string Property1 { get; set; }
		public string Property2 { get; set; }
		public string Property3 { get; set; }
		public IEnumerable<string> Property4 { get; set; }
		public IEnumerable<Class3> Children { get; set; }
	}
}

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) Clifford Nelson Consulting
United States United States
Has been working as a C# developer on contract for the last several years, including 3 years at Microsoft. Previously worked with Visual Basic and Microsoft Access VBA, and have developed code for Word, Excel and Outlook. Started working with WPF in 2007 when part of the Microsoft WPF team. For the last eight years has been working primarily as a senior WPF/C# and Silverlight/C# developer. Currently working as WPF developer with BioNano Genomics in San Diego, CA redesigning their UI for their camera system. he can be reached at qck1@hotmail.com.

Comments and Discussions