Viesturs
Viesturs

Reputation: 1691

Windows forms: TreeView control with multiple columns

Is there a way to have multiple columns in TreeView control?

Upvotes: 4

Views: 14191

Answers (2)

AvS
AvS

Reputation: 191

Depending on your requirements you can also think about a datagridview with treeview functionalities embedded:

http://blogs.msdn.com/b/markrideout/archive/2006/01/08/510700.aspx?PageIndex=6

Upvotes: 0

ParmesanCodice
ParmesanCodice

Reputation: 5035

No, the standard TreeView does not allow columns, what you are looking for is commonly called a TreeListView. So you'll need a custom control.

There are many listed on CodeProject:

Personally I'd recomend TreeViewAdv on SourceForge

Upvotes: 6

Related Questions