Windows窗体:具有多列的TreeView控件 [英] Windows forms: TreeView control with multiple columns

查看:749
本文介绍了Windows窗体:具有多列的TreeView控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在TreeView控件中是否可以有多个列?

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

推荐答案

不,标准的TreeView不允许列,您正在寻找的东西通常称为TreeListView。因此,您将需要一个自定义控件。

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.

CodeProject上列出了许多内容:

There are many listed on CodeProject:

  • TreeListView User Control (Lite).
  • TreeListView (Simple)
  • The TreeListView To End All TreeListViews.

我个人建议 TreeViewAdv 在SourceForge上

Personally I'd recomend TreeViewAdv on SourceForge

这篇关于Windows窗体:具有多列的TreeView控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆