寻找winforms C#的免费更好的树视图 [英] Looking for a free and better treeview for winforms C#

查看:63
本文介绍了寻找winforms C#的免费更好的树视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





C#Winforms是否有更好的免费TreeView控件。我尝试过TreeViewAdv,但是我觉得使用它非常复杂。我只需要一个树视图,可以在Excel数据过滤器上提供复选框功能。



例如,每当选中父节点上的复选框时,也会检查其子节点上的复选框。每当取消选中子节点上的一个复选框时,父复选框将进入三态模式。每当取消选中子节点上的所有复选框时,父复选框将进入未选中模式。



Telerik有一个解决方案,但是我想找一个免费的。



随着我最诚挚的问候,

Nazim。



我的尝试:



我尝试过TreeViewAdv和其他一些免费的解决方案,但我找不到合适的解决方案。

Hi,

Is there a better and free TreeView control for C# Winforms. I have tried TreeViewAdv, however i find it very complicated to use for my purpose. I just need a treeview which can provide me functions of checkboxes as one on Excel data filter.

E.g., whenever a checkbox on a parent node is checked, checkboxes on its child nodes will also be checked. Whenever one of the checkboxes on child nodes is unchecked, parent checkbox will fall into tristate mode. And whenever all of the checkboxes on child nodes are unchecked, parent checkbox will fall into unchecked mode.

Telerik has a solution for this however I'm trying to find a free one.

With my best regards,
Nazim.

What I have tried:

I have tried TreeViewAdv and some other free solutions but i can't find a proper solution for this.

推荐答案

我用的是< a href =http://www.codeproject.com/Articles/16009/A-Much-Easier-to-Use-ListView> ObjectListView [ ^ ]。虽然这篇文章的标题是ListView,但它包含了很棒的Treeview模式。非常通用,非常强大,并且不太难学。
I use the ObjectListView[^]. Although this article title says "ListView", it has a fantastic Treeview mode included. Very versatile, very powerful, and not too difficult to learn.


这里的代码项目有一篇关于Tri-State TreeView的文章:三态TreeView控件 [ ^ ]它很旧,但它是免费的。
Here on The Code Project there is an article about a Tri-State TreeView: Tri-State TreeView Control[^] It is old, but it's free.


这篇关于寻找winforms C#的免费更好的树视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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