views:

543

answers:

1

How to disable the treeview nodes in windows forms c#.net

+1  A: 
TreeView.Nodes[**NodeName**].Visible = false;

or, you can use the RemoveAt method if you want to remove a node, as opposed to hiding it.

Sev
I cannot find a "Visible" setter property for TreeNode, only an "IsVisible" getter property.
Fredriku73