C#TreeView的最大节点数 [英] C# TreeView Maximum Nodes

查看:264
本文介绍了C#TreeView的最大节点数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TreeView可以允许并仍然允许所有节点在树视图中滚动和查看的最大节点数是多少?

What is the maximum number of nodes a TreeView can have and still allow ALL nodes to be scrolled and viewed in the treeview?

推荐答案

是的,Windows(不是C#)TreeView在节点数上有限制.考虑到您要问的事实,您可能已经知道答案了. Raymond Chang对类似问题的答案是:如果您需要知道,那说明您做错了事".这里的特别错误是,您永远不应该设计一个用户必须在成千上万个节点之间滚动的UI.仅创建树就可以使用户接触到Ctrl + Alt + Del.
Yes, the Windows (not C#) TreeView has limitations on the number of nodes.  Given the fact that you're asking, you probably already know the answer.  Raymond Chang's answer to questions like that is: "if you need to know, you are doing something wrong".  The particular wrongness here is that you should never design a UI where the user has to scroll through thousands upon thousands of nodes.  Just creating the tree iwould make the user reach for Ctrl+Alt+Del.


这篇关于C#TreeView的最大节点数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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