如何通过背后的代码隐藏树视图节点 [英] How to hide tree view node through code behind

查看:71
本文介绍了如何通过背后的代码隐藏树视图节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我有一个树状视图,并用站点地图填充了它,知道我想通过代码隐藏它的某些节点.

请让我知道该怎么做?

感谢

Hi All,


I have a tree view and have populated it with site map know i want to hide some of it nodes through code- behind .

Please let me know How to do it?

Thanks

推荐答案

据我所知,您无法隐藏树视图的节点.您可能要做的就是在您想要显示/隐藏节点时,将想要的节点来回移动到另一个隐藏的树视图中.
As far as I know, you cannot hide a node of a tree view. What you can probably do is move the nodes you want back and forth to another hidden tree view as and when you want to show/hide the node.


这篇关于如何通过背后的代码隐藏树视图节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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